Class: CryptoconditionsRuby::Crypto::Base32Encoder

Inherits:
Object
  • Object
show all
Defined in:
lib/cryptoconditions_ruby/crypto.rb

Instance Method Summary collapse

Instance Method Details

#decode(data) ⇒ Object



66
67
68
# File 'lib/cryptoconditions_ruby/crypto.rb', line 66

def decode(data)
  Base32.decode(data)
end

#encode(data) ⇒ Object



62
63
64
# File 'lib/cryptoconditions_ruby/crypto.rb', line 62

def encode(data)
  Base32.encode(data)
end