Std.Base32
9 public declarations
- Base32Error
Why text does not spell bytes in base32.
- decode
Str -> Result[Bytes, Std.Base32.Base32Error]The bytes RFC 4648 base32 spells, padded or not, in either case.
- decodeCrockford
Str -> Result[Bytes, Std.Base32.Base32Error]The bytes Crockford base32 spells. Case does not matter, hyphens are
- decodeHex
Str -> Result[Bytes, Std.Base32.Base32Error]The bytes extended-hex base32 spells, padded or not, in either case.
- encode
&Bytes -> StrBytes written in the RFC 4648 base32 alphabet, padded with
=to a - encodeCrockford
&Bytes -> StrBytes in Crockford's alphabet, unpadded and uppercase. It leaves out
I, - encodeHex
&Bytes -> StrBytes in the extended-hex alphabet, padded. Its digits sort in the same
- encodeUnpadded
&Bytes -> StrBytes in the RFC 4648 alphabet with no padding, as secrets for one-time
- explain
&Std.Base32.Base32Error -> StrA sentence saying what was wrong with the text.
