class
v8.0.0 - Show latest stable - Superclass: Object

A 256-GCM cipher.

By default it will use random initialization vectors. For deterministic encryption, it will use a SHA-256 hash of the text to encrypt and the secret.

See Encryptor

Constants

CIPHER_TYPE = "aes-256-gcm"

Files

  • activerecord/lib/active_record/encryption/cipher/aes256_gcm.rb