What is the first zero-knowledge proof used to prevent cheating in e-voting?
The first zero-knowledge proof checks that the encrypted ballot entries add up to 1, enforcing that the voter selected exactly one candidate rather than none or both. This rules out voting for both candidates or for none.
Conditions
- There are two candidate slots in the example.
- Each slot contains one encrypted value.
- The proof must hold without revealing the individual values.
Reasoning, step by step
- Identify the election rule: each voter must choose exactly one candidate, neither both nor none.
- Formulate the first zero-knowledge proof required by the protocol: the encrypted values in a ballot sum to 1.
- Verify that the sum of the encrypted vote values equals 1.
- Ensure the proof holds without revealing the individual values.
Example
The speaker states that the first zero-knowledge proof is that the sum of the things inside your envelope sums up to one, meaning you voted for exactly one candidate.
Common misconceptions
- Mistaking sum-to-one for full ballot validity: If the encrypted votes sum to 1, the ballot must be valid, whereas non-binary values can satisfy the same equation.
Watch the explanation
6:38 – 6:52Watch this moment ↗
Explore next
Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.