toHex method

String toHex()

toHex generate a compressed hex string from a public key

Implementation

String toHex() {
  return curve.publicKeyToHex(this);
}