class CryptoconditionsRuby::Crypto::Base64Encoder

Public Instance Methods

decode(data) click to toggle source
# File lib/cryptoconditions_ruby/crypto.rb, line 56
def decode(data)
  Base64.decode64(data)
end
encode(data) click to toggle source
# File lib/cryptoconditions_ruby/crypto.rb, line 52
def encode(data)
  Base64.encode64(data).strip
end