class ActiveRecord::Encryption::Encryptor

Defined in:

active_record/encryption/encryptor.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

Instance Method Detail

def build_encrypted_message(clear_text, deterministic, cipher : ActiveRecord::Encryption::Cipher | Nil = nil) #

def decrypt(encrypted_text : String, deterministic = false) : String #

def decrypt_message(message, deterministic) : Slice(UInt8) #

def deserialize_message(encrypted_text) #

def encrypt(clear_text : String, deterministic = false, cipher : ActiveRecord::Encryption::Cipher | Nil = nil) #