Expand description
High-level applications for proofs defined in this crate.
For now, the applications are:
EncryptedChoice. Single-choice or multi-choice selection from a predefined list of options, with summable selection ciphertexts.QuadraticVotingBallot. Quadratic voting on a predefined list of options, with summable selection ciphertexts.
Structs§
- Choice
Params - Parameters of an
EncryptedChoicepolling. - Encrypted
Choice - Zero or more encrypted choices from
noptions (n >= 1) together with zero-knowledge proofs of correctness. - Multi
Choice - Multi-choice setup for
EncryptedChoice, in which it can contain any possible number of selected options (0..=n, wherenis the number of options). - Quadratic
Voting Ballot - Encrypted ballot for quadratic voting together with zero-knowledge proofs of correctness.
- Quadratic
Voting Params - Quadratic voting parameters prepared for a certain
Group. - Single
Choice - Single-choice setup for
EncryptedChoice, in which it can contain a single selected option.
Enums§
- Choice
Verification Error - Error verifying an
EncryptedChoice. - Quadratic
Voting Error - Errors that can occur when verifying
QuadraticVotingBallots.
Traits§
- Prove
Sum - Encapsulation of functionality for proving and verifying correctness of the sum of option
ciphertexts in an
EncryptedChoice.