Crate base58ck

Crate base58ck 

Source
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§

Error
An error occurred during base58 decoding (with checksum).
InvalidCharacterError
Found an 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’.

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.