Class: PKey::EC::Point
- Inherits:
-
Object
- Object
- PKey::EC::Point
- Defined in:
- lib/ruby_bitcoin_wallet/open_ssl.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
Instance Method Details
#ec_add(point) ⇒ Object
20 |
# File 'lib/ruby_bitcoin_wallet/open_ssl.rb', line 20 def ec_add(point); self.class.new(group, OpenSSL::BN.from_hex(OpenSSL_EC.ec_add(self, point))); end |
#to_hex ⇒ Object
18 |
# File 'lib/ruby_bitcoin_wallet/open_ssl.rb', line 18 def to_hex; to_bn.to_hex; end |