bcrypt constant

Base64Codec const bcrypt

Codec instance to encode and decode 8-bit integer sequence to 6-bit Base-64 character sequence using the alphabet described in Bcrypt:

./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789

It is not padded.

Implementation

static const Base64Codec bcrypt = Base64Codec._(
  encoder: AlphabetEncoder(
    bits: 6,
    alphabet: _base64EncodingBcrypt,
  ),
  decoder: AlphabetDecoder(
    bits: 6,
    alphabet: _base64DecodingBcrypt,
  ),
);