An Ethereum Voting Scheme That Doesn't Give Away Your Vote

In Malta this week, researchers revealed a proposal for secure blockchain voting that involves no third party for privacy or tallying votes.

Apr 6, 2017 at 2:30 p.m. UTC
Updated Sep 11, 2021 at 1:13 p.m. UTC
Layer 2
CoinDesk - Unknown

Feng Hao, Patrick McCorry, and Siamak Shahandashti, creators of the Open Vote Network.

Voting on the blockchain sounds like a brilliant idea, promising to eliminate fraud while providing complete transparency to the final results.

But in practice, blockchain voting is extremely difficult to implement in a way that both keeps the votes private (so you don't know how a person voted) and doesn’t require a third party.

There are a few voting apps already out there, like the Blockchain Voting Machine, Follow My Vote and TIVI, that use the blockchain as a ballot box. But each of these, in some way or another, relies on a third party to achieve voter privacy.

At the Financial Cryptography and Data Security Conference in Malta this week, however, a PhD student from Newcastle University in the UK, caught audience attention when he stepped forward with a proposal for secure voting that involves no third party for privacy – or for tallying votes.

Patrick McCorry's Open Vote Network is a smart contract written in Solidity, where ethereum takes over the work of the trusted third party.

The solution, McCorry said, is ideal for boardroom voting, although not for large groups.

He explained the idea to CoinDesk:

"Everyone can cast their encrypted vote. And then at the end of the election, once all the votes have been cast, anyone, including observers, can simply add the encrypted votes together. It will cancel out all the random factors in the encryption and it will just reveal the final tally."

Hurdles to overcome

When McCorry and his fellow researchers first took on the project, they ran up against two issues.

The first was that, in designing a voting scheme in ethereum, the platform would not compute the final tally until the final voter cast a vote, requiring 100% participation. The second was an adaptive issue where the final voter was able to compute the tally before casting a vote. This posed a problem, since knowing the vote tally upfront has the potential to sway a person’s vote.

However, using ethereum and cryptography, the Open Vote Network team found a way around both problems.

The system works like this: an election admin sends ethereum a 'white list' of voters. Later, when a voter registers for an election, he or she puts down a small deposit. Voters then have a limited time to cast their vote, or lose the deposit.

When a vote is cast, it is first encrypted before being submitted to ethereum. Once all the votes are in (or the time limit for voting is up), ethereum computes the tally, keeping votes private.

And once the final voter casts a vote, he or she cannot change that vote, even after computing the tally.

McCorry explained that his approach rides on the fact that the people in the election are known — an advantage in that it allows the use of peer pressure to encourage voting.

Road ahead

Moving forward, McCorry foresees a time when decentralized vote collections are implemented widely.

"We wanted to show that decentralized elections were possible. Because it has been in academic literature for years, but it has never been practically implemented," McCorry said.

He added that the project – the code for which is now available on Github – also demonstrates that ethereum can support cryptography, as the Open Vote Network uses both ElGamal and zero-knowledge proofs.

McCorry concluded by saying that he and his team are moving on to research use of the blockchain for larger-scale elections.

Voting image via Shutterstock. Event image via Amy Castor for CoinDesk

The Festival for the Decentralized World
Thursday - Sunday, June 9-12, 2022
Austin, Texas
Save a Seat Now

DISCLOSURE

Please note that our privacy policy, terms of use, cookies, and do not sell my personal information has been updated.

The leader in news and information on cryptocurrency, digital assets and the future of money, CoinDesk is a media outlet that strives for the highest journalistic standards and abides by a strict set of editorial policies. CoinDesk is an independent operating subsidiary of Digital Currency Group, which invests in cryptocurrencies and blockchain startups. As part of their compensation, certain CoinDesk employees, including editorial employees, may receive exposure to DCG equity in the form of stock appreciation rights, which vest over a multi-year period. CoinDesk journalists are not allowed to purchase stock outright in DCG.

Trending

1
CoinDesk - Unknown
San Francisco NFL Player Alex Barrett Taking His Salary in Bitcoin

The most valuable crypto stories for Thursday, May 20, 2022.

The most valuable crypto stories for Thursday, May 20, 2022.

CoinDesk - Unknown
2
CoinDesk - Unknown
Justin Sun Still Thinks Algorithmic Stablecoins Are a Good Idea

The crypto mogul also said LUNA and UST might make good "meme coins," he said on CoinDesk TV’s “First Mover.”

The crypto mogul also said LUNA and UST might make good "meme coins," he said on CoinDesk TV’s “First Mover.”

CoinDesk - Unknown
3
CoinDesk - Unknown
Former BitMEX CEO Arthur Hayes Sentenced to 2 Years Probation

Hayes pleaded guilty to one count of violating the Bank Secrecy Act (BSA) in February, and faced a sentence of up to 12 months in prison.

Hayes pleaded guilty to one count of violating the Bank Secrecy Act (BSA) in February, and faced a sentence of up to 12 months in prison.

CoinDesk - Unknown
4
CoinDesk - Unknown
Market Wrap: Cryptos Decline Amid Choppy Trading, DeFi Tokens Underperform

Aversion to risk remains as volatility returns to stocks and cryptos.

Aversion to risk remains as volatility returns to stocks and cryptos.

CoinDesk - Unknown