rails / 7.0.0 / activerecord / encryption / encryptingonlyencryptor.html /

class ActiveRecord::Encryption::EncryptingOnlyEncryptor

Parent:
Encryptor

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

Public Instance Methods

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

© 2004–2021 David Heinemeier Hansson
Licensed under the MIT License.