An encryptor that can encrypt data but can’t decrypt it.
Methods
Instance Public methods
decrypt(encrypted_text, key_provider: nil, cipher_options: {})
📝 Source code
# File activerecord/lib/active_record/encryption/encrypting_only_encryptor.rb, line 7
def decrypt(encrypted_text, key_provider: nil, cipher_options: {})
encrypted_text
end
🔎 See on GitHub