Method: EzCrypto::Key#encrypt64
- Defined in:
- lib/extensions/ezcrypto/ezcrypto/ezcrypto.rb
#encrypt64(data) ⇒ Object
Encrypts the data and returns it in encrypted Base64 encoded form.
189 190 191 |
# File 'lib/extensions/ezcrypto/ezcrypto/ezcrypto.rb', line 189 def encrypt64(data) Base64.encode64(encrypt(data)) end |