elastic_elgamal/app/mod.rs
1//! High-level applications for proofs defined in this crate.
2//!
3//! For now, the applications are:
4//!
5//! - [`EncryptedChoice`]. Single-choice or multi-choice selection from a predefined
6//! list of options, with summable selection ciphertexts.
7//! - [`QuadraticVotingBallot`]. [Quadratic voting] on a predefined list of options,
8//! with summable selection ciphertexts.
9//!
10//! [Quadratic voting]: https://en.wikipedia.org/wiki/Quadratic_voting
11
12mod choice;
13mod quadratic_voting;
14
15pub use self::{
16 choice::{
17 ChoiceParams, ChoiceVerificationError, EncryptedChoice, MultiChoice, ProveSum, SingleChoice,
18 },
19 quadratic_voting::{QuadraticVotingBallot, QuadraticVotingError, QuadraticVotingParams},
20};