Crate base58

Expand description

Bitcoin base58 encoding and decoding.

This crate can be used in a no-std environment but requires an allocator.

Modules§

error
Error code for the base58 crate.

Structs§

InvalidCharacterError
Found a invalid ASCII byte while decoding base58 string.
String
A UTF-8–encoded, growable string.
Vec
A contiguous growable array type, written as Vec<T>, short for ‘vector’.

Enums§

Error
An error occurred during base58 decoding (with checksum).

Functions§

decode
Decodes a base58-encoded string into a byte vector.
decode_check
Decodes a base58check-encoded string into a byte vector verifying the checksum.
encode
Encodes data as a base58 string (see also base58::encode_check()).
encode_check
Encodes data as a base58 string including the checksum.
encode_check_to_fmt
Encodes a slice as base58, including the checksum, into a formatter.