News for hackers. Stuff that matters.
Re:A Peer to Peer Voting Algorithm [pdf] by dTal on Sunday June 02, 2019 @09:23AM (#20075276)
A simple, two-option system that allows for private vote verification:

  Vote: 0 for Gore, 1 for Bush
  Provide, in the polling booth: a random salt of either 0 or 1
  Publish: vote XOR salt
Now, if you want to lie about what vote you cast, you also lie about the random salt. But you can always check for yourself.

Now, the issue becomes obvious - if someone can falsify votes, why can't they falsify salts as well? Less obviously, this is true of any verification system - abstractly, you can always count the vote one way, and "verify" it the other way. So what you have to do is have completely different possession chains for the vote roll and the salt roll. Make it so that at no point does any one person have access to all three of 1) the voter id, 2) the vote cast, and 3) the salt. This means that nobody has the required information, or access, to undetectably falsify a vote.

Extending this to handle more than two options, and making it easy enough to comprehend that the average voter won't get caught out if they try to lie, is left as an exercise for the reader. But it's possible.

Re:A Peer to Peer Voting Algorithm [pdf] by Nursie on Sunday June 02, 2019 @09:26AM (#20075287)
If nobody has access to all three pieces of information, including the voter, how can they verify their own vote?
Re:A Peer to Peer Voting Algorithm [pdf] by dTal on Sunday June 02, 2019 @01:25PM (#20076743)
The voter, and only the voter, has access to all three pieces of information.
Re:A Peer to Peer Voting Algorithm [pdf] by Nursie on Monday June 03, 2019 @06:14AM (#20081762)
If they have access, so does someone trying to coerce them...
Re:A Peer to Peer Voting Algorithm [pdf] by dTal on Monday June 03, 2019 @07:05AM (#20081963)
No, they don't. That's the point. The voter can lie about the salt. Only the voter knows they are lying, because they were alone in the polling booth.
Re:A Peer to Peer Voting Algorithm [pdf] by Nursie on Monday June 03, 2019 @07:19AM (#20082036)
Then how can they be sure their vote was counted correctly?
Re:A Peer to Peer Voting Algorithm [pdf] by dTal on Monday June 03, 2019 @04:26PM (#20088230)
By comparing their private knowledge of 1) who they voted for and 2) the salt they were shown in the booth with 3) the public hash of the two.

In any case it was only meant as an existence proof, not a practical system. I like aeternus's suggestion much more, since it has the useful property that everyone can see all the votes - just not whose is whose. (Although I'm not sure what function the receipt serves)