The Ethereum Foundation (EF) has formally recommended Keccak-256, the hash function already integral to the network, as the cornerstone for Ethereum’s post-quantum cryptography defense.
This pivotal decision, outlined in a research post on May 22, 2024, by researchers from the EF’s Applied Cryptography team—including Justin Drake, Dankrad Feist, and Francesco D’Amato—aims to provide a “simple, robust, and future-proof” solution against the looming threat of quantum computing.
Solidifying Ethereum’s quantum defense with Keccak-256
This recommendation settles months of speculation, notably after EF researcher Justin Drake had previously indicated a potential pivot towards Secure Hash Algorithm 2 (SHA2) or BLAKE hashes. Instead, the Foundation has opted for Keccak-256, a function with a long and scrutinized history of cryptanalysis, positioning it to secure the entire protocol once elliptic-curve signatures are transitioned to hash-based ones.
The choice of Keccak-256 is not merely a technical detail; it represents a strategic commitment to security for Ethereum’s next generation of upgrades. As the network prepares for significant advancements like the Verkle tree transition, the integrity of its core cryptographic components becomes paramount. The Foundation explicitly advocates for the “ubiquitous adoption of Keccak-256” across the entire Ethereum protocol, emphasizing its proven track record.
Keccak-256, already used for Ethereum addresses and execution-layer state, offers a significant security margin compared to other hash functions considered. Practical collision attacks, according to figures cited in the research, can only breach approximately 21% of Keccak-256’s 24 rounds.
This contrasts sharply with SHA2-256, which currently secures Ethereum’s consensus layer and is vulnerable to attacks reaching about 55% of its 64 rounds. The Foundation notes that Keccak’s security has remained uncompromised even with the advent of AI-assisted cryptanalysis.
Balancing Performance Against Unassailable Security
While Keccak-256 offers superior security margins, the Ethereum Foundation acknowledges certain performance trade-offs. The function is inherently slower than SHA2-256 for direct computation and lags behind BLAKE3 when used within proofs. However, the EF considers this a necessary cost, prioritizing what it terms the “security margin and historical cryptanalysis” over raw speed.
For most client teams operating on Ethereum’s execution layer, this shift will require minimal new code. The real change is earmarked for the consensus layer, where the Foundation advises a longer-term transition of Simple Serialize (SSZ) merkleization from SHA2-256 to Keccak-256. This ensures data hashing processes, crucial for consolidating data into a single root, align with the new post-quantum standard.
The push for enhanced protocol security is an ongoing effort. For example, recent developments highlight how the Ethereum Foundation shifts security focus to AI, indicating a broad awareness of evolving digital threats beyond just quantum computing.
The Strategic Pivot from Poseidon and Other Alternatives
The decision to back Keccak-256 also clarifies why previously favored alternatives, particularly Poseidon, were ultimately passed over. The Ethereum Foundation had extensively explored Poseidon, a hash function optimized for efficiency within zero-knowledge proof (ZKP) systems like SNARKs. The initial assumption was that Ethereum would require such a proof-friendly hash due to the high computational cost of proving standard hashes within SNARKs.
However, recent advancements in prover technology have dramatically altered this landscape. Newer provers can now efficiently handle standard hashes, achieving speeds of approximately 500,000 hashes per second. This innovation effectively eliminated Poseidon’s primary advantage. With proof speed no longer a distinguishing factor, the Foundation could re-evaluate its options based purely on cryptographic security and resilience.
The Poseidon Cryptanalysis Initiative, launched in November 2024, has continued to uncover vulnerabilities in modified versions of the hash function, reinforcing the EF’s preference for battle-tested solutions. While BLAKE3 was recognized as the fastest traditional hash under consideration, its limited published cryptanalysis compared to Keccak-256’s extensive history ultimately tipped the scales.
Quantum Resistance and Ethereum’s Scaling Roadmap
Ethereum’s embrace of Keccak-256 is intrinsically linked to its broader scaling roadmap, particularly the integration of Verkle trees. These data structures are critical for improving state storage efficiency and proof generation, which are vital for future network scalability. By mandating Keccak-256 for all hashing within Verkle trees, the Foundation ensures that these foundational components are quantum-resistant from their inception.
The Applied Cryptography team’s recommendation explicitly states: “Our recommendation is simple: use Keccak-256 for all hashing within the Ethereum protocol.” They further assert that “Keccak-256 is quantum-resistant by design. The best known generic attack against a 256-bit hash function requires O(2^128) quantum operations, which is well beyond the capabilities of any foreseeable quantum computer.”
This robust security stance is crucial as Ethereum continues to evolve, supporting ever more complex applications and transaction volumes.
Securing the network against future threats is a continuous process that involves many layers of development, including how Ethereum sharding works to boost scalability, all of which rely on robust underlying cryptographic primitives.
Broader Context of Post-Quantum Cryptography Adoption
The Ethereum Foundation’s move comes amidst a wider industry drive towards post-quantum cryptography (PQC), fueled by the accelerating progress in quantum computing. Current blockchain cryptography, heavily reliant on public-key algorithms like Elliptic Curve Digital Signature Algorithm (ECDSA), remains vulnerable to quantum attacks that could compromise private keys and forge transactions.
Bodies like the National Institute of Standards and Technology (NIST) have been standardizing PQC algorithms, with initial standards finalized in August 2024. Hash-based signatures, on which Ethereum’s strategy relies, are considered a conservative and well-understood PQC approach because their security hinges on the established resilience of cryptographic hash functions.
This makes them less susceptible to quantum speedups compared to other cryptographic primitives. The Foundation explicitly advises against newer, less battle-tested quantum-resistant hash functions, citing their “complexity, novelty, and lack of battle-testing.”
This strategic decision also highlights the proactive approach Ethereum is taking to ensure its long-term viability. Protecting against quantum threats is a critical component of maintaining trust and integrity across the decentralized ecosystem, impacting everything from individual user security to the broader financial infrastructure built on Ethereum.
Ensuring the core security of the network also plays a vital role in securing the network post-merge ethereum validators role, as they are key actors in maintaining the chain’s integrity.
The EF’s internal deadline for achieving post-quantum security remains 2029, a timeline reiterated through its PQAI (post-quantum, post-AI) series of research posts. This ongoing commitment underscores the urgency and strategic importance placed on future-proofing Ethereum against both quantum and advanced AI-driven cryptographic threats.
