Method: Encryption::String#decrypt
- Defined in:
- lib/helpers/string.rb
#decrypt(options = {}) ⇒ Object
12 13 14 15 16 |
# File 'lib/helpers/string.rb', line 12 def decrypt( = {}) string = self string = Base64.decode64(self) if [:encode] or [:encoded] encryptor().decrypt string end |