Module sapio_bitcoin::util::base58

source ·
Expand description

Base58 encoder and decoder.

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

Enums

  • An error that might occur during base58 decoding

Functions

  • 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.)
  • 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.)
  • Directly encode a slice as base58
  • Decode base58-encoded string into a byte vector
  • Decode a base58check-encoded string