toHex generate a compressed hex string from a public key
String toHex() { return curve.publicKeyToHex(this); }