def create_cipher(klass, options, value)
        options = options.is_a?(Proc) ? options.call(self) : options.dup
        
        # Only use the contextual information for this plugin's ciphers
        klass.parent == EncryptedAttributes ? klass.new(value, options) : klass.new(options)
      end
def create_cipher(klass, options, value)
        options = options.is_a?(Proc) ? options.call(self) : options.dup
        
        # Only use the contextual information for this plugin's ciphers
        klass.parent == EncryptedAttributes ? klass.new(value, options) : klass.new(options)
      end
Creates a new cipher with the given configuration options