class
Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Superclass: Object

An encryptor exposes the encryption API that ActiveRecord::Encryption::EncryptedAttributeType uses for encrypting and decrypting attribute values.

It interacts with a KeyProvider for getting the keys, and delegate to ActiveRecord::Encryption::Cipher the actual encryption algorithm.

Constants

THRESHOLD_TO_JUSTIFY_COMPRESSION = 140.bytes

ENCODING_ERRORS = [EncodingError, Errors::Encoding]

DECRYPT_ERRORS = [OpenSSL::Cipher::CipherError, Errors::EncryptedContentIntegrity, Errors::Decryption]

Attributes

Show files where this class is defined (1 file)
Register or log in to add new notes.