module Cryogen::Crypto

Extended Modules

Defined in:

cryogen/crypto.cr

Constant Summary

CIPHER_MODE = "AES-256-CBC"
SEPARATOR = '$'
SIG_MODE = :sha256

Instance Method Summary

Instance Method Detail

def encrypt_and_sign(value : String, key : Key) : String #

[View source]
def verify_and_decrypt(encrypted_value : String, key : Key) : String #

[View source]