An encryptor that wonβt decrypt or encrypt. It will just return the passed values
Methods
Instance Public methods
binary?()
          
          
          
          
          
            π Source code
# File activerecord/lib/active_record/encryption/null_encryptor.rb, line 20
def binary?
  false
enddecrypt(encrypted_text, key_provider: nil, cipher_options: {})
          
          
          
          
          
            π Source code
# File activerecord/lib/active_record/encryption/null_encryptor.rb, line 12
def decrypt(encrypted_text, key_provider: nil, cipher_options: {})
  encrypted_text
endencrypt(clean_text, key_provider: nil, cipher_options: {})
          
          
          
          
          
            π Source code
# File activerecord/lib/active_record/encryption/null_encryptor.rb, line 8
def encrypt(clean_text, key_provider: nil, cipher_options: {})
  clean_text
endencrypted?(text)
          
          
          
          
          
            π Source code
# File activerecord/lib/active_record/encryption/null_encryptor.rb, line 16
def encrypted?(text)
  false
end