Class: PKey::EC::Point

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

Instance Method Summary collapse

Instance Method Details

#to_hexObject



30
# File 'lib/rubycoin.rb', line 30

def to_hex; to_bn.to_i.to_s(16).rjust(130, '0'); end

#xObject



31
# File 'lib/rubycoin.rb', line 31

def x; to_hex[2..65];   end

#yObject



32
# File 'lib/rubycoin.rb', line 32

def y; to_hex[66..130]; end