module

Beryl::Crypto::Compatibility

Algorithms kept only to read and speak formats that already exist. None of them is the right choice for a new design, and the convenience calls on Beryl::Crypto never use them.

AliasClassStandardStill needed by
MD5MessageDigest5RFC 1321PostgreSQL md5 authentication, bit-exact lock ids and cache keys
SHA1SecureHashAlgorithm1FIPS 180-4WebSocket handshakes, UUID v5, MySQL authentication
PBKDF2(D)PasswordBasedKeyDerivationFunction2(D)RFC 8018PostgreSQL SCRAM
AESCBCAdvancedEncryptionStandardInCipherBlockChainingModeFIPS 197, SP 800-38AAmber version 1 cookies, Grant version 1 encrypted attributes

HMAC over these hashes is V1::HMAC(Compatibility::SHA1) and V1::HMAC(Compatibility::MD5): the word Compatibility always appears where an old algorithm is chosen.

Nested types