class ActiveRecord::Encryption::EncryptingOnlyEncryptor

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

Public Instance Methods

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