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

Methods

Instance Public methods

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

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