PQAI #1: One hash to rule them all — Keccak-256 for Ethereum's post-quantum, post-AI era
Ethereum Foundation recommends Keccak-256 as its post-quantum hash function, citing extensive cryptanalysis and sponge-mode security, replacing earlier ZK-friendly alternatives.
After years of research and collaboration across the cryptography community, the Ethereum Foundation has selected Keccak-256 as Ethereum’s hash function for post-quantum and post-AI cryptographic needs. The decision follows evaluations of multiple candidates and leverages Keccak-256’s nearly two decades of cryptanalysis and large security margin. Ethereum already relies on Keccak-256 for addresses and execution-layer state, making it a natural choice to avoid adding a third general-purpose hash to the protocol.
The foundation will use a family of symmetric primitives derived from Keccak-f[1600], including Keccak-256 for standard hashing, Keccak-duplex for Fiat-Shamir transformations, and SHAKE256 for pseudorandom bit generation and key derivations. This shift means Ethereum’s security will hinge on the robustness of the hash function, as a break would compromise the entire protocol. The choice reflects a balance between proven security and performance, particularly as new ZK-proof systems now efficiently handle standard hashes.
A comparative analysis of five candidates—Poseidon, Poseidon2, BLAKE3, BLAKE2, and SHA2-256—highlighted Keccak-256’s superior cryptanalysis record and structural security. Poseidon variants, once favored for ZK-proof efficiency, were deprioritized due to emerging cryptanalytic weaknesses, while BLAKE3 and BLAKE2 lacked sufficient cryptanalysis despite their speed. SHA2-256, though widely used, suffers from structural limitations like length extension vulnerabilities and reduced theoretical security margins.
Keccak-256’s sponge construction provides provable indifferentiability from a random oracle under classical and quantum adversaries, a critical advantage for hash-based signatures and SNARG aggregation. While its proving performance lags behind alternatives like BLAKE3, leanVM achieves over 500,000 Keccak-f permutations per second on EIP-7870 hardware, meeting Ethereum’s aggregation throughput requirements. The foundation prioritized long-term security and ecosystem stability over marginal performance gains.