Crate base58ck

Source
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.
  • A UTF-8–encoded, growable string.
  • Vecstd
    A contiguous growable array type, written as Vec<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 also base58::encode_check()).
  • Encodes data as a base58 string including the checksum.
  • Encodes a slice as base58, including the checksum, into a formatter.