Class: PKey::EC::Point
- Inherits:
-
Object
- Object
- PKey::EC::Point
- Defined in:
- lib/bitcoin.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.bn2mpi(hex) ⇒ Object
395 |
# File 'lib/bitcoin.rb', line 395 def self.bn2mpi(hex) BN.from_hex(hex).to_mpi; end |
.from_hex(group, hex) ⇒ Object
391 392 393 |
# File 'lib/bitcoin.rb', line 391 def self.from_hex(group, hex) new(group, BN.from_hex(hex)) end |
Instance Method Details
#to_hex ⇒ Object
394 |
# File 'lib/bitcoin.rb', line 394 def to_hex; to_bn.to_hex; end |