Ethereum Foundation recommends Keccak-256 for leanVM hashing
The Ethereum Foundation has recommended Keccak-256, the hash function that already generates Ethereum addresses and backs the EVM’s KECCAK256 opcode, as the core primitive for the protocol’s coming shift to hash-based cryptography. The choice rules out Poseidon, the SNARK-friendly hash Ethereum researchers spent years hardening, because faster zero-knowledge provers erased the speed advantage that justified it.
- EF compared five candidates: Poseidon/Poseidon2, BLAKE3, BLAKE2, SHA2-256 and Keccak-256
- LeanVM, Ethereum’s planned zkVM for signature, blob and recursive aggregation, proves roughly 500,000 Keccak-f hashes per second on target hardware
- EL and CL clients need little new code since Keccak-256 already underpins addresses and discv5 node IDs
- 500K/s Keccak-f hashes leanVM must prove per second for aggregation
- ~1K/s attestations per second that proving rate can cover on one committee
- 5/24 rounds of Keccak-256’s permutation broken by practical collision attacks
Ethereum’s hash-based cryptography will run on Keccak-256, the Ethereum Foundation said in a post. The post lays out why the foundation picked the function Ethereum already uses over four alternatives.
Poseidon Loses Its Case
For years the working assumption was that Ethereum’s post-quantum signatures would need Poseidon, an “algebraic” hash designed to be cheap to prove inside SNARKs over prime fields. The EF even ran a Poseidon Cryptanalysis Initiative starting in November 2024 to stress-test it.
That initiative kept finding new attacks on round-reduced Poseidon and Poseidon2, including work by Sanso and Vitto in 2025 and Bak et al. in 2026, on top of a 2022 result from Bariant et al. showing the designers’ security analysis was too optimistic. Neither full-round version is broken.
But the post says binary-field SNARKs such as Binius and Flock, plus GKR-based provers, now prove standard hashes at or above the 500,000-hash-per-second target leanVM needs, so the tradeoff that justified Poseidon no longer exists.
SHA2-256’s Structural Problem
SHA2-256 already secures SSZ on the consensus layer and Ethereum’s deposit contract. The post says its Merkle–Damgård construction fails to behave like a random oracle because of length extension, a property the security proofs for hash-based signatures assume.
Protocols built on SHA2-256 have had to compensate: SLH-DSA-SHA2 wraps it in HMAC and MGF1. The foundation cites a 2026 collision result (Goldreich) reaching 38 of SHA2-256’s 64 rounds and a separate 2024 paper (Zhang, Hou and Liu) on collision attacks against Keccak’s permutation, alongside a 2026 paper (Tokat, Alagic, Carolan and Majenz) which it says has proven sponge-based indifferentiability from a random oracle against classical adversaries, with a looser bound against quantum ones.
What Client Teams Have to Do
The post says execution-layer clients need no new hash: signature verification reuses existing Keccak-256 code. When SSZ arrives on the execution layer, the foundation recommends pairing it with Keccak-256 rather than SHA2-256.
Consensus-layer clients already use Keccak-256 for discv5 node IDs. The post recommends moving SSZ merkleisation on the CL from SHA2-256 to Keccak-256 “in the long term,” though it gives no version number, fork name or target date for that migration.
What Changes in Practice, and What It Costs
The practical effect is that client teams, zkVM builders and SDK authors can stop hedging between an algebraic hash and a traditional one. Keccak-256 was already implemented, audited and fuzzed across the stack, so the post frames this as avoiding “a whole class of integration bugs” rather than adding new code.
The tradeoff is accepted, not eliminated. Keccak-256 is natively slower than SHA2-256 and slower to prove than BLAKE3, per the EIP-7870-class hardware benchmarks the post cites for leanVM. EF chose cryptanalysis depth over raw speed, the same tradeoff it previously avoided by chasing Poseidon.
The post does not say when Ethereum’s hash-based signature scheme itself ships, which EIP will codify Keccak-256’s expanded role, or whether this recommendation has gone through any core developer call for sign-off.
It also does not address FIPS compliance for users who need it, noting that choosing SHA3-256 instead would not have made the signatures FIPS-compliant since the signature scheme itself is not FIPS-approved.
“We recommend Keccak-256 as the hash function for Ethereum’s hash-based cryptography.”
Ethereum Foundation, PQAI #1 blog post
The CCS read. Locking in Keccak-256 removes a multi-year fork in Ethereum’s post-quantum roadmap and keeps the protocol from carrying a third general-purpose hash. It does not resolve which signature scheme sits on top of it, when it ships, or how FIPS-dependent institutions get covered, so the harder decisions are simply next in the queue.
The post is numbered PQAI #1 with no publication date given for subsequent entries; the Ethereum Foundation has yet to name the signature scheme this hash will secure or set a timeline for the SSZ merkleisation migration it recommends.