Ethereum Foundation picks Keccak-256 as its hash function for post-quantum cryptography

Ethereum Foundation picks Keccak-256 as its hash function for post-quantum cryptography

The Ethereum Foundation has recommended Keccak-256 as the hash function Ethereum will use for its hash-based cryptography. A hash function is a tool that turns data into a fixed string of characters, and it is central to how blockchains secure information. The recommendation was published on the Foundation's blog on November 24, 2026, in a post written by Kev Wedderburn.

The choice matters because Ethereum plans to move to hash-based cryptography, a type of digital signature believed to resist attacks from future quantum computers. Once that happens, the post says, the security of the whole protocol comes down to the hash function: if it is broken, everything built on it is broken too.

Key points from the announcement

  • The Foundation recommends Keccak-256, the hash Ethereum already uses for addresses and execution-layer state.
  • Five candidates were compared: Poseidon, Poseidon2, BLAKE3, BLAKE2, SHA2-256 and Keccak-256.
  • A family of tools built on the Keccak-f[1600] permutation will be used, including Keccak-256 for standard hashing, Keccak-duplex for Fiat-Shamir transformations, and SHAKE256 for generating pseudorandom bits and deriving keys.
  • LeanVM, the zero-knowledge virtual machine planned for the protocol, proves more than 500,000 Keccak hashes per second on EIP-7870 hardware.
  • Keccak-256 was chosen over SHA3-256, which shares the same core and security but is not already built into the protocol.

Why performance no longer decides the winner

For years, the working assumption was that Ethereum's post-quantum signatures would need a ZK-friendly hash such as Poseidon, because standard hashes were too expensive to prove inside zero-knowledge systems. A zero-knowledge proof, or zk proof, lets one party show a statement is true without revealing the underlying data.

According to the post, that tradeoff is now gone. Binary-field SNARKs such as Binius and Flock, along with GKR-based provers, can prove standard hashes at or above the 500,000 hashes-per-second target. That speed maps to about 1,000 attestations per second, enough to cover a consensus-layer committee. With proving speed no longer the deciding factor, security became the main criterion.

How the other candidates compared

The post describes each rejected option:

  • Poseidon and Poseidon2 were designed for fast proving in SNARKs, an advantage largely removed by binary-field SNARKs. In 2022, Bariant et al. showed the designers' analysis was too optimistic. The Foundation's Poseidon Cryptanalysis Initiative, launched in November 2024, keeps producing new attacks on round-reduced versions. Neither full-round version is broken, but the authors saw no reason to wait for the cryptanalysis to mature.
  • BLAKE3 is the fastest traditional hash considered, with provers reaching about 2.2 million compressions per second on a 16-vCPU machine. But it changes the BLAKE2 round function and cuts rounds from 10 to 7, its cryptanalysis record is sparse, and its mode of operation has no security proof.
  • BLAKE2 is better studied but has fewer than 10 published cryptanalytic attacks, with the best reaching 2.5 rounds. It is believed secure, but the remaining candidates have significantly more cryptanalysis and sufficient performance.
  • SHA2-256, used by SSZ on the consensus layer and in the current deposit contract, is fast natively. But practical collision attacks reach 35 of its 64 rounds and the best collision attack reaches 38, more than half its total. Its Merkle-Damgård construction also means length extension alone differentiates it from a random oracle, so schemes built on it need extra care.

Why Keccak-256 won on security

Keccak-256, introduced in 2008, has what the post calls arguably the most extensive cryptanalysis of any unbroken traditional hash. Its security has so far stayed unaffected by AI-assisted cryptanalysis. Practical collision attacks reach 5 of its 24 rounds, and theoretical ones reach 6 rounds on the underlying permutation.

Keccak-256 uses a sponge construction, which the post says is provably indifferentiable from a random oracle against classical attackers, and with a loose bound against quantum attackers, based on a QCrypt 2026 result. The structure is security preserving, though attacks could still target the internal Keccak-f permutation directly.

The tradeoff is speed. Keccak-256 is slower to prove than BLAKE3 and slower natively than SHA2-256, especially for binary tree hashing. The Foundation says it accepts that cost for the security margin and the long history of public analysis.

Keccak-256 or SHA3-256: why the near-twin was rejected

Keccak-256 and SHA3-256 share the same permutation, rate and capacity, so they have the same security, native speed and proving cost. The difference is only in padding bits. The Foundation chose Keccak-256 for three reasons:

  • KECCAK256 is already an Ethereum opcode and is widely used on the execution and application layer.
  • Adding SHA3-256 would put two nearly identical functions in the protocol, both informally called "SHA3", creating a class of integration bugs.
  • SHA3-256's FIPS approval would not make the signatures FIPS-compliant, because the signature scheme itself is not approved. Users needing FIPS compliance will be served by another protocol-level construction for cheap verification of arbitrary computation.

What client teams need to do

The post says most teams need little new code. Execution layer clients need no new hash, since signature verification reuses existing Keccak-256 implementations. If SSZ is introduced on the execution layer, which the post calls a likely scenario with frame transactions, the recommendation is to use Keccak-256 with it. Consensus layer clients already use Keccak-256 in discv5 node IDs, and the long-term recommendation is to move SSZ merkleisation from SHA2-256 to Keccak-256.

What is confirmed and what is not

The recommendation itself is confirmed and comes from the Ethereum Foundation's official blog. It is a recommendation, not a finalized protocol change; the post does not announce a hard fork date or a timeline for when hash-based signatures will ship. Statements about current attack speeds, proving benchmarks and cryptanalysis results are attributed to the cited research papers and the Flock Challenge leaderboard in the post.

Sources

Newisty Editorial Team
Written by

Newisty Editorial Team

Technology · Crypto · Digital Economy
View all posts

Newisty Editorial Team covers technology, cryptocurrency, digital products, online platforms, developer tools and the wider digital economy. Our content is researched from official sources, company announcements, public documentation, market data and other primary or reputable sources. Articles are reviewed and edited before publication for clarity, accuracy and useful context.

Comments (0)

Leave a comment
Your comment will appear publicly after submission.
No comments yet. Be the first to comment!