Module: SecurizeString::CipherMethods

Defined in:
lib/securize_string/cipher_methods.rb

Overview

Adds methods for OpenSSL::Cipher support including AES encryption. See CipherMethods::ClassMethods and CipherMethods::InstanceMethods for more details.

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(mod) ⇒ Object



8
9
10
11
# File 'lib/securize_string/cipher_methods.rb', line 8

def self.included(mod)
  mod.send(:extend, ClassMethods)
  mod.send(:include, InstanceMethods)
end