Module base58

Expand description

Base58 encoder and decoder.

This module provides functions for encoding and decoding base58 slices and strings respectively.

Enums§

Error
An error that might occur during base58 decoding

Functions§

check_encode_slice
Obtain a string with the base58check encoding of a slice (Tack the first 4 256-digits of the object’s Bitcoin hash onto the end.)
check_encode_slice_to_fmt
Obtain a string with the base58check encoding of a slice (Tack the first 4 256-digits of the object’s Bitcoin hash onto the end.)
encode_slice
Directly encode a slice as base58
from
Decode base58-encoded string into a byte vector
from_check
Decode a base58check-encoded string