struct AvramEncrypted::EncryptedValue

Defined in:

avram_encrypted/encrypted_value.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(value : String, keys : Hash(String, String) = AvramEncrypted.settings.keys) #

Instance Method Detail

def parse : Tuple(String, String) #

Parses the encrypted value and retuns a Tuple with the encryption key and the encrypted payload.