Available on crate feature
alloc
only.Expand description
Bitcoin base58 encoding and decoding.
This crate can be used in a no-std environment but requires an allocator.
Modules§
- Error code for the
base58
crate.
Structs§
- An error occurred during base58 decoding (with checksum).
- Found a invalid ASCII byte while decoding base58 string.
- String
std
A UTF-8–encoded, growable string. - Vec
std
A contiguous growable array type, written asVec<T>
, short for ‘vector’.
Functions§
- Decodes a base58-encoded string into a byte vector.
- Decodes a base58check-encoded string into a byte vector verifying the checksum.
- Encodes
data
as a base58 string (see alsobase58::encode_check()
). - Encodes
data
as a base58 string including the checksum. - Encodes a slice as base58, including the checksum, into a formatter.