Expand description

The base32 module provides encoding and decoding functions for converting binary data to and from UTF-8 alphanumeric text using the base32hex encoding defined in RFC-4648.

This encoding is useful for emitting numeric index keys and querying those values with a range query. This derives from the fact that base32hex encoded text preserves the bitwise sort order of the represented data.

Similarly, the default composite key separator character (the zero byte) will continue to work adequately even for index keys that could themselves contain a zero, if not encoded.

Functions

Decode the base32hex encoded data into raw binary data.

Encode the binary data using base32hex encoding.