Skip to Content Skip to Search

class ActiveRecord::Encryption::EncryptingOnlyEncryptor

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

Inherits From

Public instance methods

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