The Ethereum Foundation recommends Keccak-256 for Ethereum’s hash-based cryptography, including its planned post-quantum signatures. The deciding factor was not speed. In an assessment reported on November 27, 2026, the Foundation’s Kev Wedderburn said Ethereum’s planned proof system could now handle Keccak fast enough to meet its signature-aggregation target. That let the Foundation favor a hash with nearly two decades of public cryptanalysis that Ethereum already uses for addresses and execution-layer state.
The recommendation is not an activated protocol change. In particular, the consensus layer still uses SHA2-256 to build Merkle trees for data encoded with Simple Serialize (SSZ).
When is a hash fast enough?
Ethereum needs a hash to work in three settings. Clients run it directly on CPUs for tasks such as deriving addresses and hashing state trees. Smart contracts need an affordable way to compute it, so gas cost matters. And leanVM, the zero-knowledge virtual machine the Foundation plans to use in the protocol, must efficiently prove that the computation was performed correctly.
Proving had been the bottleneck. The Foundation put its target at roughly 500,000 hashes proved per second on EIP-7870-class hardware. That corresponds to about 1,000 attestations per second, enough for one consensus-layer committee. According to Wedderburn, leanVM exceeded 500,000 Keccak-f permutations proved per second on that hardware, meeting the aggregation requirement. Keccak remains harder to prove than BLAKE3 and slower on CPUs than SHA2-256; it no longer needs to beat either one on speed to qualify.
How the alternatives compared
- Poseidon and Poseidon2 are distinct hashes designed for efficient proofs over prime fields. Advances in binary-field proof systems have largely erased that advantage. The Foundation’s cryptanalysis program, launched in November 2024, has yielded new attacks on reduced-round versions of both. Neither full-round function has been broken, but the Foundation saw no need to wait for their security records to mature.
- BLAKE3 was the fastest conventional candidate the Foundation examined. A prover in the SNARK.fast Flock challenge reached about 2.2 million BLAKE3 compressions per second on a 16-vCPU machine—a different operation and hardware setting from the leanVM result. BLAKE3 changed BLAKE2’s round function and cut the round count from 10 to seven, so it cannot simply inherit BLAKE2’s cryptanalysis record. The Foundation also cited sparse public analysis and the lack of a security proof for BLAKE3’s mode of operation.
- BLAKE2 has a longer research record than BLAKE3, and Ethereum already exposes its compression function through the EIP-152 precompile. The Foundation considers it fast and secure, but counted fewer than 10 published cryptanalytic attack papers. Both SHA2-256 and Keccak-256 had received considerably more scrutiny.
- SHA2-256 is already used in consensus-layer SSZ and is available to execution-layer contracts through the
0x02precompile. It runs particularly well on x86 processors with SHA instructions. Its drawback for the proposed signatures is structural: their security proofs model the hash as an idealized random oracle, while SHA2-256’s length-extension property distinguishes it from one. Protocols can compensate, but the Foundation preferred not to require each design to do so separately.
The Foundation also weighed how far published collision attacks reach. For SHA2-256, it cited practical results covering 35 of 64 rounds and a best result reaching 38 rounds. For Keccak-256, practical collisions reach five of 24 rounds, with theoretical results reaching six rounds of the underlying permutation. These are reduced-round results, not breaks of either complete hash.
Keccak’s sponge construction also fits the random-oracle assumption more directly. If its underlying permutation is ideal, the sponge is provably indistinguishable from a random oracle, with a looser bound for quantum adversaries. That is a result about the construction, not a guarantee against a future attack on the Keccak-f permutation itself.
Why Keccak-256 rather than SHA3-256?
Keccak-256 and SHA3-256 use the same permutation and the same rate and capacity. They differ in padding, not in security margin, native speed or proving cost. Ethereum already has a KECCAK256 opcode. Adding SHA3-256 would leave developers with two nearly identical functions, both informally called “SHA3,” whose outputs are not interchangeable. Nor would SHA3-256’s FIPS certification make the proposed signature scheme FIPS-compliant: the scheme itself is outside that certification.
The recommendation pairs Keccak-256 for ordinary hashing with two other constructions based on Keccak-f[1600]: Keccak-duplex for the Fiat–Shamir step in proof systems, and SHAKE256 for pseudorandom bit generation and key derivation.
For execution-layer clients, signature verification could reuse existing Keccak-256 code. The Foundation also recommends Keccak-256 if SSZ comes to the execution layer for frame transactions. Consensus clients already use Keccak-256 for discv5 node IDs, but switching SSZ Merkle trees from SHA2-256 to Keccak-256 remains a long-term recommendation, not a migration announced for a specific date.
