Module: Garcon::Crypto::String
- Defined in:
- lib/garcon/utility/crypto.rb
Overview
Adds ‘encrypt` and `decrypt` methods to strings.
Instance Method Summary collapse
-
#decrypt(password = nil, salt = nil) ⇒ Object
Returns a new string containing the decrypted version of itself.
-
#encrypt(password = nil, salt = nil) ⇒ Object
Returns a new string containing the encrypted version of itself.