Module: Sym::Crypt
- Defined in:
- lib/sym/crypt.rb,
lib/sym/crypt/data.rb,
lib/sym/crypt/errors.rb,
lib/sym/crypt/version.rb,
lib/sym/crypt/data/decoder.rb,
lib/sym/crypt/data/encoder.rb,
lib/sym/crypt/configuration.rb,
lib/sym/crypt/cipher_handler.rb,
lib/sym/crypt/data/wrapper_struct.rb,
lib/sym/crypt/extensions/class_methods.rb,
lib/sym/crypt/extensions/instance_methods.rb
Defined Under Namespace
Modules: CipherHandler, Data, Errors, Extensions Classes: Configuration
Constant Summary collapse
- NEW_CIPHER_PROC =
->(name) { ::OpenSSL::Cipher.new(name) }
- VERSION =
'1.1.1'- DESCRIPTION =
"sym-crypt is a core encryption module for the symmetric encryption app \n(and a corresponding gem) \"sym\", and contains the main base serialization, \nencryption, encoding, compression routines.\n\nsym-crypt uses a symmetric 256-bit key with the AES-256-CBC cipher, which is the \nsame cipher as the one used by the US Government. For encyption with a \npassword sym-crypt uses AES-128-CBC cipher. \n\nThe resulting data is zlib-compressed and base64-encoded. The keys are also \nbase64 encoded for easy copying/pasting/etc.\n"
Class Method Summary collapse
Class Method Details
.config ⇒ Object
94 95 96 |
# File 'lib/sym/crypt.rb', line 94 def config Sym::Crypt::Configuration.config end |