Ethereum Foundation recommends Keccak-256 against quantum threats

The Ethereum Foundation has recommended Keccak-256 as the base of Ethereum’s defenses against quantum computing and AI-assisted attacks. Core developers have yet to approve the proposal.

The Ethereum Foundation recommended Keccak-256 in a blog post published Nov. 24, selecting the hash function as the proposed basis for Ethereum’s post-quantum security. Core developers have not approved the proposal.

A cryptographic hash function turns data into a fixed-length digital fingerprint. The fingerprint can help detect changes to the original data. Keccak-256 produces a 256-bit output.

The Foundation evaluated five hash functions while studying a shift to hash-based cryptography. It selected Keccak-256 over Poseidon, SHA-256, BLAKE2 and BLAKE3, citing its record of resisting attacks and its suitability for Ethereum’s core systems.

The selected function would support other post-quantum protections. The Foundation’s blog post said, “if it is broken, everything else is broken.”

The research initially focused on balancing security and performance. The Foundation had spent years working on Poseidon, which was created in 2019 for zero-knowledge proofs. These proofs allow information to be verified without revealing the underlying data.

Poseidon can make some proofs faster than general-purpose hash functions. However, reduced-round versions remained vulnerable to attacks, while improvements in SNARK performance reduced its speed advantage. The Foundation therefore made security the deciding factor.

SHA-256, BLAKE2 and BLAKE3 were also rejected. SHA-256 is used by Bitcoin. BLAKE2 and BLAKE3 are general-purpose functions used in applications including virtual private networks and the Linux kernel. The Foundation cited security concerns and limited research into the alternatives’ resistance to attacks.

Quantum computing is the long-term reason for the proposed change. The Foundation also identified AI-assisted attacks as a more immediate concern and said Keccak-256 had not been affected by such attacks to date.

Julian Ma, co-founder of Ethlabs, described the work as “one of the largest efforts done in blockchain, not just in Ethereum.” He said most Ethereum core developers supported prioritizing post-quantum security, while discussions continued over which other upgrades should be delayed.

“AI is here today and it’s breaking everything around us,” Ma said. He linked Ethereum’s continuous operation to a development culture that prioritizes security issues.

Client teams would not need to create a new implementation if Keccak-256 is adopted. Ethereum has used Keccak for its addresses since launch, allowing developers to reuse existing code. The Foundation also recommended that parts of the consensus layer, which currently uses SHA-256, gradually adopt Keccak for selected hashing operations.

The proposal remains subject to approval from Ethereum’s core developers. The Foundation’s published roadmap targets December 2029 for Ethereum to achieve quantum resistance.

Reviewed and fact-checked by Alex Panasenko on November 25.

Articles by this author