Hadamard Get the app

Why Ethereum Chose Keccak-256 for Its Post-Quantum Upgrade

Why Ethereum Chose Keccak-256 for Its Post-Quantum Upgrade — Hadamard

The Ethereum Foundation recommends Keccak-256 as the single hash function for Ethereum’s post-quantum cryptography. It made the recommendation in a research post published on November 24, 2026. The reasoning comes down to two points. In a hash-based signature scheme the hash carries all of the security, and of the unbroken traditional hashes, Keccak-256 has arguably had the most cryptanalysis. It also already runs throughout Ethereum.

This article covers the Ethereum Keccak-256 post-quantum decision: what was announced, how the five candidate hashes compared, why Poseidon and BLAKE3 lost, why SHA3-256 won’t be added as well, and what changes for developers, stakers and node operators.

What the Ethereum Foundation announced

The recommendation came in two posts by Kev Wedderburn. The first, PQAI #0, “Preparing Ethereum for a post-quantum, post-AI world” (November 23, 2026), sets out a three-part plan:

  • Consensus: “Validators sign with hash-based keys, so finality no longer depends on elliptic curves.”
  • Accounts: wallets will give users a simple way to move to hash-based signatures.
  • Data: blobs switch to hash-based commitments.

The EF picked hash-based cryptography over elliptic curves after more than a year of evaluating signature schemes. The post makes the point that this adds no new trust assumption: “The Ethereum protocol already relies on hashes being secure, so importantly this does not add a new assumption.” The EF has also doubled the size of its protocol security team.

PQAI #0 treats AI as a second driver of the change, describing it as having “emerged as a more urgent risk.” It points to AI models finding bugs in production software faster than people can review them, including thousands in the Linux kernel. The post also says AI “does not immediately imply” that current hardness assumptions can be broken. Its answer is conservative assumptions plus formal verification against a spec.

The next day, PQAI #1, “One hash to rule them all”, named the hash. It is a research recommendation and gives no formal timeline. For background on which parts of Ethereum are exposed to quantum attacks in the first place, see our explainer on whether quantum computers can break Ethereum.

Why the hash function decides everything in hash-based signatures

Elliptic-curve signatures rest on a mathematical hardness problem. Hash-based signatures rest only on the hash function. PQAI #1 puts it plainly: security reduces to the hash, and “if it is broken, everything else is broken.”

The chosen hash also has to perform well in three quite different places:

  • CPUs: native signing and state trie hashing.
  • zkVMs: aggregating signatures inside leanVM.
  • The EVM: where cost is measured in gas.

A hash that is quick on CPUs can be expensive to prove inside a SNARK, and the reverse is also true. For years that tension pushed blockchain designers toward “ZK-friendly” algebraic hashes such as Poseidon. The ranking changed once that tension went away.

Note that the round-reduced attacks discussed below are a different matter from the generic collision bound every 256-bit hash faces. We cover that bound in our piece on birthday attacks and why 256 bits means 128.

Poseidon vs BLAKE3 vs Keccak: the five candidates

PQAI #1 compared five hashes. The table summarises how the post describes each one.

Hash (year) Strengths Concerns noted by the EF
Poseidon / Poseidon2 (2019/2023) Designed for prime-field SNARKs Bariant et al. (2022) found a way to skip two full rounds at almost no cost. Attacks on round-reduced versions keep appearing, though neither full version is broken.
BLAKE3 (2020) The fastest, at about 2.2M compressions/s on a 16-vCPU machine Rounds cut from 10 to 7, a sparse cryptanalysis record, and no security proof for its mode
BLAKE2 (2012) Fewer than 10 published attacks, the best reaching 2.5 rounds. Already exposed via the EIP-152 precompile. Other options had more cryptanalysis and were fast enough
SHA2-256 (2001) Already used in SSZ, the 0x02 precompile and the deposit contract Practical collisions reach 35 of 64 rounds, and the best collision attack reaches 38. As a Merkle–Damgård hash it allows length extension, so protocols need extra care.
Keccak-256 (2008) Arguably the most cryptanalysis of any unbroken traditional hash. Practical collisions reach only 5 of 24 rounds. Slower to prove than BLAKE3 and slower natively than SHA2-256

Length extension is a real design cost. The post notes that SLH-DSA-SHA2, for example, has to use HMAC and MGF1 to work around it. Keccak avoids the problem because it is a sponge. The post says the sponge is indifferentiable from a random oracle against classical adversaries, with a looser bound against quantum ones, and cites Tokat, Alagic, Carolan and Majenz, “The Sponge is Quantum Indifferentiable” (QCrypt 2026). The best theoretical attacks reach 6 rounds of the permutation.

Why proving speed stopped deciding

The main argument for Poseidon was that it is cheap to prove. PQAI #1 says that tradeoff “is gone, now that SNARKs handle standard hashes efficiently,” and concludes: “Proving performance no longer separates standard hashes from algebraic ones, so security becomes the deciding factor.”

The post backs this with numbers. leanVM proves more than 500K keccak-f permutations per second on EIP-7870 hardware. The aggregation target of about 500K hashes per second works out to roughly 1K attestations per second, which the post says is enough for a consensus committee.

The road from Poseidon to Keccak

Poseidon was out before November. In August 2026, Justin Drake announced that the EF was dropping Poseidon for leanVM in favour of more widely tested alternatives. He named SHA and BLAKE, and said better SNARKs had made the switch possible, according to CoinMarketCap Academy. In November, the EF settled on Keccak-256. The ethereum.org roadmap separately lists a $1 million Poseidon Prize run by the EF.

BLAKE3 lost for the opposite reason to Poseidon. Speed was never its problem. With fewer rounds, less published cryptanalysis and no proof for its mode, it was the weakest candidate on the one criterion that now mattered.

Keccak-256 vs SHA3-256: why not support both?

SHA3-256 is the NIST-standardised version of Keccak. According to PQAI #1, the two share the same permutation, rate and capacity, so their security, native speed and proving cost are identical. The only difference is padding, which means they produce different outputs for the same input.

The EF keeps Keccak-256 for three reasons:

  1. It is already in the protocol. Keccak-256 already secures addresses and execution-layer state. Choosing it avoids adding a third general-purpose hash alongside SHA2-256.
  2. Two near-identical functions invite bugs. Running both raises the risk of integration errors, and the habit of informally calling Keccak “SHA3” adds more confusion.
  3. FIPS wouldn’t follow anyway. A FIPS-approved hash would not make the signatures FIPS-compliant, because the signature scheme itself is not FIPS-approved. Users who need FIPS would be served by a separate protocol-level construction.

The recommendation also uses other members of the Keccak-f[1600] family. Keccak-duplex serves as the sponge for Fiat-Shamir, and SHAKE256 provides pseudorandom bits and key derivation.

Where Keccak-256 will be used, and what it costs

PQAI #1 lists the places where Keccak-256 would serve as the common hash:

  • execution-layer signature verification, reusing existing implementations
  • signature, blob and recursive aggregation in leanVM
  • SSZ on the execution layer, likely together with frame transactions
  • in the long term, moving consensus-layer SSZ merkleisation from SHA2-256 to Keccak-256
  • discv5 node IDs, which already use it
  • the existing KECCAK256 EVM opcode

On AI, the post says Keccak-256’s “security has so far remained unaffected by the introduction of AI-assisted cryptanalysis.”

Bigger signatures and heavier nodes

The cost shows up in data size. According to the ethereum.org roadmap, hash-based leanXMSS signatures are “roughly 3,000 bytes compared to 96 bytes for BLS.” BLS can combine signatures from “hundreds of thousands of validators” into one, and hash-based signatures cannot be aggregated that way natively. That is the job of leanVM, which the roadmap describes as “a minimal zkVM… for SNARK-based signature aggregation” that compresses the data “by 250x.”

PQAI #0 lists the wider costs openly:

  • features already in progress will be delayed
  • BLS-based tooling has to be reworked
  • contracts that assume pre-quantum cryptography need updates
  • wallets, multisigs and staking pools need changes
  • signatures will be “much larger,” so hardware requirements need watching to keep home nodes viable

When will Ethereum be post-quantum, and what should you do now?

There is no fixed date. According to PQAI #0, Justin Drake proposed December 2028 as a target at Devcon. The EF’s internal deadline is 2029, and a timeline review is planned for January. The ethereum.org roadmap targets completion of core post-quantum infrastructure by approximately 2029, says full ecosystem migration is expected to take longer, and calls these “planning milestones, not guaranteed commitments.” In August, Drake described a preliminary schedule: production-ready leanVM targeted for 2027, with broader rollouts across the consensus, data and execution layers planned for 2028.

Work has already started. Early specs exist, and the first pq-cl devnet is being iterated on. Ethlabs published “pqai27” and removed its Quick Slots proposal from Hegotá to free up engineering time. The roadmap says more than 10 client teams join weekly PQ interop devnets. Implementations live in the leanEthereum GitHub organisation as leanSig (Rust), leanSpec (Python), leanXMSS, leanVM and leanMultisig.

The outside pressure is real but not immediate. The roadmap cites a Google Quantum AI estimate from March 2026 that breaking 256-bit elliptic-curve cryptography “could require roughly 1,200 logical qubits.” It also notes that NIST “anticipates deprecating ECDSA by 2030 and disallowing it by 2035.”

What this means for each group:

  • Smart contract developers: list every place your contracts assume ECDSA, BLS or pairing-based verification. PQAI #0 says such contracts will need updates. Expect Keccak-256 to remain the hash to build on.
  • Tooling and infrastructure teams: anything built on BLS aggregation will need rework. Consensus-layer SSZ code should plan for an eventual move from SHA2-256 to Keccak-256.
  • Stakers and node operators: larger signatures mean bandwidth and hardware requirements are open questions. Watch the devnets and the January timeline review.
  • Wallet users: no action is required today. The EF says wallets will offer a simple migration path. According to the roadmap, accounts that have never sent a transaction expose only a hash of their public key.

The same principle, reducing security to a well-studied hash, is behind BB84, the Layer 2 rollup built by Hadamard. BB84 removes ECDSA from every L2 transaction by authenticating actions through hash-chain preimage reveals. Its batcher and proposer keys still use ECDSA, which the project lists as a known limitation. To follow how other chains, browsers and standards are progressing, see our post-quantum migration tracker.

FAQ

Is Keccak-256 the same as SHA3-256?

No. They share the same permutation, rate and capacity, so their security and performance are identical. They use different padding, so the same input produces different outputs. Ethereum uses Keccak-256 and will not add SHA3-256.

Why didn’t Ethereum use Poseidon or BLAKE3?

Modern SNARKs now prove standard hashes efficiently, so Poseidon’s proving advantage no longer decides the matter, and attacks on round-reduced versions keep appearing. BLAKE3 is the fastest candidate, but it has fewer rounds, a sparse cryptanalysis record and no security proof for its mode. With speed sufficient across the board, security decided.

Will hash-based signatures make nodes more expensive to run?

Possibly. leanXMSS signatures are roughly 3,000 bytes versus 96 bytes for BLS. leanVM aggregation is meant to offset this, and the EF says it is watching hardware requirements to keep home nodes possible.

When will Ethereum be post-quantum, and do I need to do anything now?

Justin Drake has proposed December 2028 as a target. The EF’s internal deadline is 2029, with a review planned for January, and the roadmap calls these milestones rather than commitments. Wallet users don’t need to act yet. Wallets are expected to offer a simple migration path.

Sources