method

decrypt

Importance_1
v7.1.3.4 - Show latest stable - 0 notes - Class: Cipher
decrypt(encrypted_message, key:) public

Decrypt the provided Message.

When key is an Array, it will try all the keys raising a +ActiveRecord::Encryption::Errors::Decryption+ if none works.

Show source
Register or log in to add new notes.