getExtendedEphemeralPublicKey function
Returns the extended ephemeral public key for publicKey as a decimal
string, the form expected by the Sui zkLogin prover.
Implementation
String getExtendedEphemeralPublicKey(PublicKey publicKey) {
return BigInt.parse(Hex.encode(publicKey.toSuiBytes()), radix: 16).toString();
}