wordSafe constant

Base32Codec const wordSafe

Codec instance to encode and decode 8-bit integer sequence to 5-bit Base-32 character sequence using the Word-safe alphabet:

23456789CFGHJMPQRVWXcfghjmpqrvwx

That alphabet uses 8 numeric digits and 12 case-sensitive letter digits chosen to avoid accidentally forming words.

It is padded with =

Implementation

static const Base32Codec wordSafe = Base32Codec._(
  encoder: AlphabetEncoder(
    bits: 5,
    padding: _padding,
    alphabet: _base32EncodingWordSafe,
  ),
  decoder: AlphabetDecoder(
    bits: 5,
    padding: _padding,
    alphabet: _base32DecodingWordSafe,
  ),
);