Method: ECC::S256Point#inspect

Defined in:
lib/elliptic-lite/secp256k1.rb

#inspectObject

change to fixed 64 char hexstring for x/y



12
13
14
15
16
17
18
# File 'lib/elliptic-lite/secp256k1.rb', line 12

def inspect   ## change to fixed 64 char hexstring for x/y

  if infinity?
    "#{self.class.name}(:infinity)"
  else
    "#{self.class.name}(#{'0x%064x' % @x},#{'0x%064x' % @y})"
  end
end