crockford constant
Base32Codec
const crockford
Codec instance to encode and decode 8-bit integer sequence to 5-bit Base-32 character sequence using the alphabet of Crockford's Base32:
0123456789ABCDEFGHJKMNPQRSTVWXYZ
This alphabet uses additional characters for a mod-37 checksum, and avoid the character U to reduce the likelihood of accidental obscenity.
It is not padded.
Implementation
static const Base32Codec crockford = Base32Codec._(
encoder: AlphabetEncoder(
bits: 5,
alphabet: _base32EncodingCrockford,
),
decoder: AlphabetDecoder(
bits: 5,
alphabet: _base32DecodingCrockford,
),
);