class
ActiveRecord::Encryption::Encryptor
- ActiveRecord::Encryption::Encryptor
- Reference
- Object
Defined in:
active_record/encryption/encryptor.crConstructors
Instance Method Summary
- #build_encrypted_message(clear_text, deterministic, cipher : ActiveRecord::Encryption::Cipher | Nil = nil)
- #decrypt(encrypted_text : String, deterministic = false) : String
- #decrypt_message(message, deterministic) : Slice(UInt8)
- #deserialize_message(encrypted_text)
- #encrypt(clear_text : String, deterministic = false, cipher : ActiveRecord::Encryption::Cipher | Nil = nil)
Constructor Detail
Instance Method Detail
def build_encrypted_message(clear_text, deterministic, cipher : ActiveRecord::Encryption::Cipher | Nil = nil)
#
def encrypt(clear_text : String, deterministic = false, cipher : ActiveRecord::Encryption::Cipher | Nil = nil)
#