Skip to Content Skip to Search
v7.1.0
class ActiveRecord::Encryption::EncryptingOnlyEncryptor < Encryptor

ActiveRecord::Encryption::EncryptingOnlyEncryptor

An encryptor that can encrypt data but can’t decrypt it.

Methods
D

Public instance methods

decrypt(encrypted_text, key_provider: nil, cipher_options: {})

Permalink
Source code GitHub
# File activerecord/lib/active_record/encryption/encrypting_only_encryptor.rb, line 7
def decrypt(encrypted_text, key_provider: nil, cipher_options: {})
  encrypted_text
end
Definition files