Method: Klay::Key#public_hex_compressed

Defined in:
lib/klay/key.rb

#public_hex_compressedString

Converts the public key data into an compressed hexa-decimal string.

Returns:

  • (String)

    public key as compressed hexa-decimal string.



141
142
143
# File 'lib/klay/key.rb', line 141

def public_hex_compressed
  Util.bin_to_hex @public_key.compressed
end