Sha256: f189124fce0d91589b5a57a49c1fab5acaa5be0a9634053fd93ff4dd707ef01a
Contents?: true
Size: 464 Bytes
Versions: 61
Compression:
Stored size: 464 Bytes
Contents
# frozen_string_literal: true module ActiveRecord module Encryption # An encryptor that won't decrypt or encrypt. It will just return the passed # values class NullEncryptor def encrypt(clean_text, key_provider: nil, cipher_options: {}) clean_text end def decrypt(encrypted_text, key_provider: nil, cipher_options: {}) encrypted_text end def encrypted?(text) false end end end end
Version data entries
61 entries across 58 versions & 8 rubygems