spl_token_2022::extension::confidential_transfer::instruction

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