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
+ (Object) bn2mpi(hex)
215 |
# File 'lib/bitcoin.rb', line 215 def self.bn2mpi(hex) BN.from_hex(hex).to_mpi; end |
+ (Object) from_hex(group, hex)
211 212 213 |
# File 'lib/bitcoin.rb', line 211 def self.from_hex(group, hex) new(group, BN.from_hex(hex)) end |
Instance Method Details
- (Object) to_hex
214 |
# File 'lib/bitcoin.rb', line 214 def to_hex; to_bn.to_hex; end |