The cryptography behind electronic voting (and why paper ballots are still essential)
Trail of Bits explains how cryptographic protocols like Helios and ElectionGuard provide voter privacy and ballot verifiability in electronic voting systems using threshold cryptography and homomorphic encryption. The article details the security challenges unique to electronic voting—including supply-chain vulnerabilities that could allow a single attacker to influence election outcomes at scale—and contrasts them with paper-based systems protected by physical security and independent audit trails. It demonstrates how modern systems achieve end-to-end verifiability by allowing encrypted tallies to be computed without decrypting individual ballots, requiring a threshold of election officials to cooperate before results are revealed. The key insight is that cryptography can strengthen election integrity when integrated with paper-based infrastructure and the principle of software independence, but cannot replace physical security controls for large-scale public elections due to fundamental challenges in preventing voter coercion and detecting sophisticated supply-chain attacks.