The Ethereum Foundation said it recommends Keccak-256 as the hash function for Ethereum’s hash-based cryptography, concluding a multi-year internal and external research effort around post-quantum design choices. The decision centers on a shift in tradeoffs: recent proving advances mean Ethereum no longer has to favor newer ZK-friendly hashes primarily for SNARK performance.
In the foundation’s account, the key threshold was proving roughly 500,000 standard hashes per second in its intended zkVM environment, enough to support aggregate throughput targets tied to consensus-layer committees on EIP-7870-equivalent hardware. With binary-field SNARKs and GKR-based provers now meeting or exceeding that level for standard hashes, the foundation said security margin and Ethereum integration now matter more than raw proving convenience.
Why the choice matters
The foundation framed the hash decision as unusually difficult to reverse because, under a hash-based cryptography model, the protocol’s security ultimately rests on the chosen hash. The same primitive must also work across three settings: native client execution on CPUs, proving inside the leanVM zkVM used for protocol tasks such as signatures and aggregation, and smart-contract use in the EVM where gas cost and implementation simplicity also matter.
Ethereum already relies on Keccak-256 for addresses and execution-layer state. The foundation said extending that dependence is preferable to adding another general-purpose hash alongside SHA2-256, because each extra primitive brings implementation, optimization, auditing and fuzzing work across clients, zkVMs and software development kits.
It also said the recommendation is not just a single function choice but a broader Keccak-derived family of symmetric tools: Keccak-256 for standard hashing, a Keccak-duplex sponge object for Fiat-Shamir transforms, and SHAKE256 for pseudorandom bit generation and key derivation.
Why ZK performance stopped deciding the outcome
For years, the expected bottleneck was proving cost inside zk systems. On that basis, Ethereum had assumed post-quantum signatures might need a ZK-friendly hash such as Poseidon, even if that meant accepting a younger and less-tested design. The foundation said it spent years trying to strengthen Poseidon’s cryptanalytic footing for that reason.
That tradeoff, it argued, has changed. According to the post, binary-field SNARK systems including Binius and Flock, together with GKR-based provers, now prove standard hashes at or above the required target. The result is that conventional hashes are no longer disqualified on performance grounds for Ethereum’s intended aggregation workload.
LeanVM, the zkVM the foundation expects to use in the protocol, is said to prove more than 500,000 keccak-f operations per second on the reference hardware class. Keccak remains slower to prove than BLAKE3 and slower natively than SHA2-256, but the foundation said the remaining performance cost is acceptable given the security and integration benefits.
How other candidates were ruled out
The foundation said it compared Poseidon and Poseidon2, BLAKE3, BLAKE2, SHA2-256 and Keccak-256. It dismissed Poseidon-family hashes because the proving advantage that once justified them has largely disappeared, while cryptanalysis continues to evolve. It cited a 2022 result showing the original Poseidon analysis had been too optimistic on some reduced-round variants and noted that its own Poseidon Cryptanalysis Initiative, launched in late 2024, has continued to produce attacks on round-reduced instances. It also stressed that neither full-round version is broken.
BLAKE3 was described as the fastest traditional hash under consideration, with provers reportedly reaching about 2.2 million compressions per second on a 16-vCPU machine. Even so, the foundation said the public cryptanalysis record is relatively limited, and pointed to concerns including its modified BLAKE2 round function, reduced round count, lack of a security proof for its mode of operation, and known distinguishers on the underlying block cipher for many rounds.
BLAKE2 was characterized as better studied and still believed secure, but the foundation said the remaining finalists had a significantly larger cryptanalytic record while still offering enough performance. SHA2-256, meanwhile, remained a serious candidate because Ethereum already uses it in several places, but the foundation argued its Merkle-Damgård structure differs from a random oracle in ways that force extra care in protocols built on top of it.
Why Keccak-256 won, and not SHA3-256
The foundation said Keccak-256 offers one of the deepest public cryptanalysis records among unbroken traditional hashes and a security margin it considers appropriate for a decades-long protocol choice. It also said Keccak’s sponge construction is structurally closer to the random-oracle behavior relied on by hash-based signatures and Fiat-Shamir-based aggregation, while acknowledging that direct attacks on the internal permutation remain the relevant class to watch.
Keccak-256 and SHA3-256, it said, have the same underlying permutation, rate and capacity, so their security, native speed and proving cost are effectively the same. The practical difference is the padding, and that is precisely why the foundation wants to avoid introducing SHA3-256 into Ethereum alongside Keccak-256.
Because KECCAK256 is already an opcode and is used widely across Ethereum’s execution and application layers, the foundation said choosing Keccak-256 avoids maintaining two nearly identical functions that differ by one padding byte. It also argued that SHA3-256’s FIPS status does not resolve compliance concerns in this case, because the related signature scheme itself would not become FIPS-approved simply by changing the hash.
Implications for Ethereum clients
For client teams, the foundation said the recommendation should require limited new code. Execution-layer clients can reuse existing Keccak-256 implementations for signature verification, and the post also recommends using Keccak-256 with SSZ when SSZ is introduced on the execution layer.
Consensus-layer clients already use Keccak-256 in some places, including discv5 node IDs. Over the longer term, the foundation said it recommends moving SSZ merkleization from SHA2-256 to Keccak-256, signaling that today’s hash recommendation could shape a broader convergence on Keccak-based primitives across Ethereum’s stack.
The recommendation is presented as Ethereum’s preferred direction for hash-based cryptography rather than a claim that competing designs are broken. The next confirmed step from the post is implementation guidance for clients and protocol components around Keccak-derived primitives, while broader protocol changes such as long-term SSZ migration remain framed as recommendations rather than immediate network changes.
Source: blog.ethereum.org