Class: ActiveRecord::Encryption::EncryptingOnlyEncryptor
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Encryptor
|
|
Instance Chain:
self,
Encryptor
|
|
Inherits: |
ActiveRecord::Encryption::Encryptor
|
Defined in: | activerecord/lib/active_record/encryption/encrypting_only_encryptor.rb |
Overview
An encryptor that can encrypt data but can’t decrypt it.
Constant Summary
Instance Method Summary
Encryptor
- Inherited
#decrypt | Decrypts a |
#encrypt | Encrypts |
#encrypted? | Returns whether the text is encrypted or not. |
Instance Method Details
#decrypt(encrypted_text, key_provider: nil, cipher_options: {})
[ 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