Module: Sym::Crypt

Defined in:
lib/sym/crypt.rb,
lib/sym/crypt/errors.rb,
lib/sym/crypt/version.rb,
lib/sym/crypt/configuration.rb,
lib/sym/crypt/cipher_handler.rb,
lib/sym/crypt/extensions/class_methods.rb,
lib/sym/crypt/extensions/instance_methods.rb

Defined Under Namespace

Modules: CipherHandler, Errors, Extensions Classes: Configuration

Constant Summary collapse

NEW_CIPHER_PROC =
->(name) { ::OpenSSL::Cipher.new(name) }
VERSION =
'1.2.0'
DESCRIPTION =
<<-eof
sym-crypt is a core encryption module for the symmetric encryption app 
(and a corresponding gem) "sym", and contains the main base serialization, 
encryption, encoding, compression routines.

sym-crypt uses a symmetric 256-bit key with the AES-256-CBC cipher, which is the 
same cipher as the one used by the US Government. For encyption with a 
password sym-crypt uses AES-128-CBC cipher. 

The resulting data is zlib-compressed and base64-encoded. The keys are also 
base64 encoded for easy copying/pasting/etc.
eof

Class Method Summary collapse

Class Method Details

.configObject



94
95
96
# File 'lib/sym/crypt.rb', line 94

def config
  Sym::Crypt::Configuration.config
end