# The cryptography behind electronic voting (and why paper ballots are still essential)

DevFeed: [The cryptography behind electronic voting (and why paper ballots are still essential)](<https://devfeed.tech/articles/the-cryptography-behind-electronic-voting-and-why-paper-ballots-are-still-essential-114216.md>)

Original publisher: [Read original article](<https://blog.trailofbits.com/2026/11/03/the-cryptography-behind-electronic-voting-and-why-paper-ballots-are-still-essential/>)

Author: "Fredrik Dahlgren"

Published: 2026-11-03T12:00:00Z

Content type: article

Language: en

Sources: [The Trail of Bits Blog](<https://devfeed.tech/sources/the-trail-of-bits-blog-2.md>), [Trail of Bits](<https://devfeed.tech/sources/the-trail-of-bits-blog.md>)

Topics: [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [trust](<https://devfeed.tech/topics/trust.md>)

Tags: [audits](<https://devfeed.tech/tags/audits.md>), [cryptographic](<https://devfeed.tech/tags/cryptographic.md>), [cryptography](<https://devfeed.tech/tags/cryptography.md>), [elections](<https://devfeed.tech/tags/elections.md>), [electronic-voting](<https://devfeed.tech/tags/electronic-voting.md>), [helios](<https://devfeed.tech/tags/helios.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [internet](<https://devfeed.tech/tags/internet.md>), [like](<https://devfeed.tech/tags/like.md>), [paper](<https://devfeed.tech/tags/paper.md>), [privacy](<https://devfeed.tech/tags/privacy.md>), [risk](<https://devfeed.tech/tags/risk.md>), [security](<https://devfeed.tech/tags/security.md>), [security-and-trust](<https://devfeed.tech/tags/security-and-trust.md>), [tally](<https://devfeed.tech/tags/tally.md>), [trust](<https://devfeed.tech/tags/trust.md>), [voting](<https://devfeed.tech/tags/voting.md>), [zero-knowledge](<https://devfeed.tech/tags/zero-knowledge.md>)

## AI overview

Paper ballots remain essential in general elections because cryptography can improve ballot secrecy and tally verification but does not remove key risks of electronic voting. Helios targets low-stakes, low-coercion elections; ElectionGuard adds end-to-end verifiability to existing paper-based systems. Threshold key sharing and homomorphic encryption can keep individual votes confidential while enabling tallying, and zero-knowledge proofs can validate ballots and results. Benaloh's challenge and public ballot records help voters detect altered or omitted ballots, but detection depends on voter participation and does not address all client compromises, coercion, authentication, or injected votes. The cited National Academies report says no known technology guarantees secrecy, security, and verifiability for ballots transmitted over the internet.

## Source excerpt

As millions of Americans vote in today's U.S. midterms, most will use paper ballots, which are protected by strict chain-of-custody protocols and, in some cases, statistical audits. You may wonder why we still use paper for our elections and voting systems when tasks like banking, tax filing, and document signing have moved away from paper-based legacy systems and become fully electronic. The short answer: security. That may come as a surprise to some. After all, cryptography and other security advancements have enabled secure electronic systems for many applications. In fact, cryptography can be used to provide two essential safeguards in elections: keeping (1) individual votes secret while (2) making the final tally independently verifiable. This is exactly the approach of cryptographic protocols like Helios and ElectionGuard. However, Helios intentionally targets lower-risk and lower-coercion settings rather than high-stakes public elections. ElectionGuard, by contrast, is intended for public elections, but not as a replacement for a paper-based system; it is used as a cryptographic layer integrated with traditional voting infrastructure. In this blog post, we'll explain how cryptographic techniques can help protect ballot secrecy and prevent manipulation in electronic voting systems, and explore the limitations of these systems. Although cryptography can strengthen election verifiability and have other strong security properties, it cannot fully replace the security and trust of existing paper ballot systems in general elections. The challenges of electronic voting The National Academy of Sciences' excellent 2018 report on election security concludes that electronic ballot return (also known as online voting or internet voting) should not be used in general elections, since "no known technology guarantees the secrecy, security, and verifiability of a marked ballot transmitted over the Internet." The difficulty of this problem makes sense when you consider the st