Class: ECDSA::Point

Inherits:
Object
  • Object
show all
Defined in:
lib/bitcoin/ext/ecdsa.rb

Instance Method Summary collapse

Instance Method Details

#to_hex(compression = true) ⇒ Object



14
15
16
# File 'lib/bitcoin/ext/ecdsa.rb', line 14

def to_hex(compression = true)
  ECDSA::Format::PointOctetString.encode(self, compression: compression).bth
end