solana_zk_token_sdk::instruction

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ยง