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
Class Method Summary
Instance Attribute Summary
Instance Method Summary
Encryptor - Inherited
| #decrypt | Decrypts an  | 
| #encrypt | Encrypts  | 
| #encrypted? | Returns whether the text is encrypted or not. | 
Constructor Details
This class inherits a constructor from ActiveRecord::Encryption::Encryptor
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