Method: EzCrypto::Key.decode

Defined in:
lib/extensions/ezcrypto/ezcrypto/ezcrypto.rb

.decode(encoded, options = {}) ⇒ Object

Initialize the key with Base64 encoded key data.



90
91
92
# File 'lib/extensions/ezcrypto/ezcrypto/ezcrypto.rb', line 90

def self.decode(encoded,options = {})
  Key.new(Base64.decode64(encoded),options)
end