Class: PKey::EC::Point
- Inherits:
-
Object
- Object
- PKey::EC::Point
- Defined in:
- lib/rubycoin.rb
Instance Method Summary collapse
Instance Method Details
#to_hex ⇒ Object
30 |
# File 'lib/rubycoin.rb', line 30 def to_hex; to_bn.to_i.to_s(16).rjust(130, '0'); end |
#x ⇒ Object
31 |
# File 'lib/rubycoin.rb', line 31 def x; to_hex[2..65]; end |
#y ⇒ Object
32 |
# File 'lib/rubycoin.rb', line 32 def y; to_hex[66..130]; end |