Class: CryptoCipher::CryptoBS64

Inherits:
Object
  • Object
show all
Defined in:
lib/cipher/crypto_cipher_bs64.rb

Instance Method Summary collapse

Instance Method Details

#decode(args) ⇒ Object



10
11
12
# File 'lib/cipher/crypto_cipher_bs64.rb', line 10

def decode(args)
    Base64.decode64(args)
end

#encode(args) ⇒ Object



6
7
8
# File 'lib/cipher/crypto_cipher_bs64.rb', line 6

def encode(args)
    Base64.encode64(args)
end