The Ethereum Foundation has recommended Keccak-256 as the primary hash function to guide Ethereum’s shift toward post-quantum cryptography. Researcher Kev Wedderburn outlined this direction in a recent post, signaling a pivotal step for the popular blockchain network as it prepares for future cryptographic challenges.
Recommendation settles previous debate
Ethereum, the world’s largest smart contract platform, already employs Keccak-256 for addresses and execution-layer state. The Foundation’s new guidance positions it at the heart of Ethereum’s planned move to hash-based cryptography, which is intended to protect the protocol from attacks by quantum computers and advanced AI techniques.
Hash functions transform data into fixed-length, unique fingerprints and are considered critical for the security of blockchains. The Foundation’s post states, “We recommend Keccak-256 as the hash function for Ethereum’s hash-based cryptography.” This is characterized as a recommendation rather than an official Ethereum Improvement Proposal (EIP) or scheduled network upgrade.
The decision concludes a debate opened in August when researcher Justin Drake announced the abandonment of Poseidon, a hash designed for zero-knowledge proofs, and initially considered SHA2 and BLAKE algorithms as alternatives. In the end, the Foundation selected none of these and instead endorsed Keccak-256.
Mini dictionary: Keccak-256 is a cryptographic hash function designed for security and efficiency, best known as the basis for Ethereum’s hashing needs. It produces a 256-bit output and has underpinned Ethereum addresses and transactions since the network’s inception.
Security evaluation drives the choice
Evaluations by Foundation researchers measure hash safety by comparing the share of rounds that an attack can compromise. According to data cited in the research post, practical collision attacks affect around 21% of Keccak-256’s rounds (5 out of 24), while they reach 55% for SHA2-256 (35 out of 64)—which Ethereum’s consensus layer currently uses for Simple Serialize (SSZ) merkleization. Keccak-256’s resistance to AI-assisted cryptanalysis has also held firm so far, according to the post.
Keccak-256’s security “has so far remained unaffected by the introduction of AI-assisted cryptanalysis,” the Foundation’s research post said.
Although Keccak-256 runs slower than SHA2-256 when computed directly and is outpaced by BLAKE3 in proof scenarios, the Foundation has chosen it for its proven security margin and established history in cryptanalysis studies.
| Hash Function | Collision Attack Rounds | Total Rounds | Attack Share |
|---|---|---|---|
| Keccak-256 | 5 | 24 | 21% |
| SHA2-256 | 35 | 64 | 55% |
Practical impact on Ethereum clients
The transition to Keccak-256 introduces minimal changes for most Ethereum client teams, according to the Foundation’s post. Execution-layer clients already use Keccak-256 for transaction processing, making significant code modifications unnecessary. For the consensus layer, the Foundation ultimately advises shifting SSZ merkleization from SHA2-256 to Keccak-256, though this is considered a longer-term objective.
Performance in proof systems, once a major concern, no longer determines the choice. Poseidon was previously favored for its low proof-related costs in SNARKs, a form of cryptographic evidence used to aggregate validator signatures efficiently. However, advances in prover technology now allow over 500,000 standard hashes per second in SNARKs, eliminating this trade-off.
“That tradeoff is gone, now that SNARKs handle standard hashes efficiently,” the post observed, marking a significant technical milestone for the network.
Security considerations ultimately led the Foundation to Keccak-256. Ongoing analysis of Poseidon found consistent vulnerabilities in its reduced-round versions, even though the full-round algorithm remains unbroken. BLAKE3, while fast, has seen little published analysis, and BLAKE2 has under ten documented attacks in the literature.
Timeline and preparation for post-quantum threats
This move is part of the Foundation’s PQAI (post-quantum, post-AI) research series. The internal deadline for completing Ethereum’s post-quantum transition is currently set for 2029, as confirmed in the Foundation’s prior publications, though alternate timelines—such as 2028 suggested at Devcon—have been floated by researchers like Justin Drake. The Foundation established a post-quantum cryptography team in January, motivated by concerns that AI could compromise elliptic-curve cryptography before the advent of practical quantum attacks.
Ethereum’s proactive approach highlights rising concerns about the long-term security of digital assets. As quantum computing and AI research accelerate, the network’s future-proofing efforts are expected to play a crucial role in maintaining trust and safety for users and developers alike.






