Module darkfi::util::encoding::base32

source ·
Expand description

Base32 encoding and decoding Base32 encoding as specified by RFC4648 Optional padding is the = character.



  • Tries to decode a base32 string into a byte vector. Returns None if something fails.
  • Encode a byte slice with the given base32 alphabet into a base32 string.