Class: String

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

Instance Method Summary collapse

Instance Method Details

#btiInteger

Convert binary to integer.

Returns:



112
113
114
# File 'lib/schnorr.rb', line 112

def bti
  self.unpack1('H*').to_i(16)
end