solana_zk_sdk

Module zk_elgamal_proof_program

Source
Expand description

The native ZK ElGamal proof program.

The program verifies a number of zero-knowledge proofs that are tailored to work with Pedersen commitments and ElGamal encryption over the elliptic curve curve25519. A general overview of the program as well as the technical details of some of the proof instructions can be found in the ZK ElGamal proof documentation.

Modules§

Constants§

  • The const program ID.

Functions§

  • Returns true if given pubkey is the program ID.
  • Returns the program ID.