method

decrypt

Importance_1
v7.1.3.2 - Show latest stable - 0 notes - Class: Encryptor
decrypt(encrypted_text, key_provider: default_key_provider, cipher_options: {}) public

Decrypts a clean_text and returns the result as clean text

Options

:key_provider

Key provider to use for the encryption operation. It will default to +ActiveRecord::Encryption.key_provider+ when not provided

:cipher_options

Cipher-specific options that will be passed to the Cipher configured in +ActiveRecord::Encryption.cipher+

Show source
Register or log in to add new notes.