solana_zk_sdk::zk_elgamal_proof_program::proof_data

Module pubkey_validity

Source
Expand description

The public-key validity proof instruction.

A public-key validity proof system is defined with respect to an ElGamal public key. The proof certifies that a given public key is a valid ElGamal public key (i.e. the prover knows a corresponding secret key). To generate the proof, a prover must provide the secret key for the public key.

Structsยง

PubkeyValidityProofContext
The context data needed to verify a pubkey validity proof.
PubkeyValidityProofData
The instruction data that is needed for the ProofInstruction::VerifyPubkeyValidity instruction.