Home Ethereum & Smart Contracts Ethereum Foundation Selects Keccak-256 as the Standard Hash Function for Post-Quantum Cryptography

Ethereum Foundation Selects Keccak-256 as the Standard Hash Function for Post-Quantum Cryptography

by Nana Wu

In a significant strategic pivot for the future of the Ethereum network, the Ethereum Foundation (EF) has formally announced the selection of Keccak-256 as the primary hash function for its upcoming hash-based cryptographic infrastructure. This decision follows a multi-year, community-wide collaborative effort involving leading cryptographers, engineers, and researchers to identify a primitive capable of securing the network against the future threat of quantum computing while maintaining the high-performance standards required by modern zero-knowledge (ZK) architectures. The selection marks a definitive move away from the pursuit of specialized "ZK-friendly" hashes, favoring the battle-tested resilience of a standard, widely analyzed primitive.

The Evolution of Ethereum’s Cryptographic Strategy

The transition to a standardized hash function is a cornerstone of Ethereum’s long-term roadmap toward post-quantum resilience. As the network shifts from traditional signature schemes to hash-based cryptography, the security of the entire protocol becomes inextricably linked to the underlying hash function. If the chosen primitive is compromised, the integrity of the ledger, the validity of execution, and the privacy of user assets would be fundamentally jeopardized.

For several years, the industry consensus was dictated by the performance bottleneck of zero-knowledge proofs (SNARKs). Because standard hash functions like Keccak-256 were traditionally computationally expensive to prove within a ZK circuit, researchers prioritized the development of "algebraic" or "ZK-friendly" hashes like Poseidon and its successor, Poseidon2. These algorithms were designed to minimize the number of constraints in a circuit, thereby significantly accelerating proving times.

However, the emergence of advanced proof systems—specifically binary-field SNARKs such as Binius and Flock, alongside improvements in GKR-based provers—has fundamentally altered this landscape. These technologies now allow for the efficient generation of proofs for standard, non-algebraic hash functions at speeds exceeding 500,000 hashes per second. With performance parity achieved, the Ethereum Foundation has opted to prioritize long-term security and auditability over the theoretical optimization of ZK-specific primitives.

Chronology and Collaborative Development

The decision-making process was the result of a rigorous, multi-disciplinary investigation. The EF’s researchers, including key contributors such as Vitalik Buterin, Justin Drake, and the broader cryptography team, spent years stress-testing various candidates.

The timeline of this effort intensified in late 2024, particularly with the launch of the Poseidon Cryptanalysis Initiative. This project sought to determine if existing ZK-friendly hashes could withstand sustained academic scrutiny. Concurrently, new vulnerabilities were identified in round-reduced instances of Poseidon, as highlighted in studies by researchers like Sanso, Vitto, and Bak. While the full-round versions of these hashes remain theoretically secure, the lack of a decades-long track record of cryptanalysis made them a riskier bet for a protocol intended to secure billions of dollars in value over the next several decades.

The selection process evaluated five primary candidates: Poseidon/Poseidon2, BLAKE3, BLAKE2, SHA2-256, and Keccak-256. Each was scrutinized for its security margin, native performance, implementation complexity, and ease of integration into existing client software.

Comparative Analysis of Candidates

The evaluation of candidates revealed distinct trade-offs. Poseidon and Poseidon2, while innovative, were found to be less mature in terms of cryptanalytic depth. The 2022 findings by Bariant et al. demonstrated that the original design assumptions were overly optimistic, casting doubt on the long-term robustness of these functions when compared to established standards.

PQAI #1: One hash to rule them all — Keccak-256 for Ethereum's post-quantum, post-AI era

BLAKE3 emerged as the fastest traditional hash function in the cohort, consistently outperforming others in raw compression speed. However, the EF noted that BLAKE3 represents a significant departure from the well-understood BLAKE2 architecture, with a sparse body of independent cryptanalysis. The lack of a formal security proof for the BLAKE3 mode of operation, combined with known internal distinguishers for its block cipher, led to its exclusion. BLAKE2, while respected and stable, was ultimately passed over in favor of a primitive that offered greater alignment with Ethereum’s existing infrastructure.

The decision eventually narrowed to the two incumbents: SHA2-256 and Keccak-256. SHA2-256, a 2001 standard, is widely used across the Ethereum consensus layer and in specific precompiles. Despite its speed, it suffers from structural limitations, most notably the length-extension vulnerability inherent in the Merkle-Damgård construction. This requires developers to implement additional safety measures, such as HMAC or MGF1, to ensure the function behaves as a true random oracle.

Keccak-256, which serves as the foundation for the SHA-3 standard, possesses the most extensive body of public cryptanalysis of any candidate. It remains robust against recent AI-assisted cryptanalytic techniques and is built on a sponge construction that is provably indifferentiable from a random oracle. While Keccak-256 is marginally slower in certain environments than SHA2-256, its superior security margin and the ecosystem’s familiarity with its implementation make it the optimal choice for the network’s future.

Implications for the Ethereum Ecosystem

The choice of Keccak-256 provides a significant operational advantage: it eliminates the need to introduce a third general-purpose hash function into the protocol, alongside the already supported SHA2-256. By doubling down on Keccak-256—which is already integral to Ethereum’s address generation and execution-layer state—the Foundation effectively reduces the attack surface and minimizes the engineering overhead for client teams.

For developers and node operators, this standardization means that most existing infrastructure will require minimal code changes. The use of the Keccak-f[1600] permutation provides a versatile suite of primitives: Keccak-256 for standard hashing, the Keccak-duplex sponge object for Fiat-Shamir transformations, and SHAKE256 for pseudorandom bit generation and key derivation. This modular approach ensures that the network remains flexible enough to handle complex cryptographic requirements while relying on a single, thoroughly vetted foundation.

Broader Impact and Future Outlook

The decision to favor established, highly-analyzed primitives over specialized ones reflects a maturing approach to blockchain security. By prioritizing security margins wide enough to withstand even theoretical breakthroughs, the Ethereum Foundation is effectively "future-proofing" the network against the unknown variables of the coming decades.

The move also underscores a shift in the ZK space: the "ZK-friendly" era of hash design is yielding to an era of "ZK-efficient" hardware and software. As proof generation techniques like Binius and GKR continue to evolve, the distinction between algebraic and standard hashes will likely vanish entirely. The EF’s commitment to Keccak-256 sends a clear message to the broader cryptographic community that for core infrastructure, the depth of cryptanalytic scrutiny is the ultimate arbiter of quality.

This transition will be supported by ongoing audits and formal verification efforts across the Ethereum client landscape. With the technical path now clear, the focus will shift toward the implementation of these primitives within the upcoming post-quantum upgrade cycles, ensuring that the network remains a leader in both security and scalability. The extensive list of contributors—ranging from the original authors of the Binius and WHIR protocols to the internal EF research team—highlights the collaborative spirit that continues to define Ethereum’s governance and technical development. As the network enters its next phase, the standardization on Keccak-256 stands as a testament to the value of caution, empirical verification, and architectural simplicity in the pursuit of decentralized, long-term security.

You may also like