base32_encode
Encodes data as base32 (RFC 4648 section 6), with = padding.
Import
Section titled “Import”Cargo feature hex (enabled by default). To compile only this module:
or in Cargo.toml:
Signature
Section titled “Signature”Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
data | &[u8] | The bytes to encode. |
Returns
Section titled “Returns”String — The base32 string; its length is always a multiple of 8.
