The standard _base32 encoding, containing A-Z, 2-7 and =.
The _base32 encoding with "extended hex alphabet", also known as "base32hex", containing 0-9, A-V, and =.
Exception thrown on errors in _base32 functions.
Implementation for _base32.
ubyte[] data = [0xde, 0xad, 0xbe, 0xef, 0x01, 0x23]; const(char)[] encoded = Base32.encode(data); assert(encoded == "32W353YBEM======"); ubyte[] decoded = Base32.decode("32W353YBEM======"); assert(decoded == [0xde, 0xad, 0xbe, 0xef, 0x01, 0x23]);
Copyright Kazuya Takahashi 2015.
Base32 encoder and decoder, according to RFC 4648.