class OpenSSL::PKey::EC::Point
Public Class Methods
bn2mpi(hex)
click to toggle source
# File lib/ruby_bitcoin_wallet/open_ssl.rb, line 19 def self.bn2mpi(hex) BN.from_hex(hex).to_mpi; end
from_hex(group, hex)
click to toggle source
# File lib/ruby_bitcoin_wallet/open_ssl.rb, line 15 def self.from_hex(group, hex) new(group, BN.from_hex(hex)) end
Public Instance Methods
ec_add(point)
click to toggle source
# 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()
click to toggle source
# File lib/ruby_bitcoin_wallet/open_ssl.rb, line 18 def to_hex; to_bn.to_hex; end