solana_zk_sdk::zk_elgamal_proof_program::proof_data

Module zero_ciphertext

Source
Expand description

The zero-ciphertext proof instruction.

A zero-ciphertext proof is defined with respect to a twisted ElGamal ciphertext. The proof certifies that a given ciphertext encrypts the message 0 in the field (Scalar::zero()). To generate the proof, a prover must provide the decryption key for the ciphertext.

Structsยง