November 25, 18:54

Ethereum Foundation recommends Keccak-256 for quantum and AI defenses

Ethereum Foundation Picks Keccak-256 for Quantum, AI Security

Cointelegraph

The Ethereum Foundation recommended Keccak-256 to underpin Ethereum's cryptographic protection against quantum computing and AI-assisted attacks in a November 24 blog post. The Foundation favored the nearly 20-year-old function over Poseidon after years of efforts to strengthen Poseidon's security. The planned transition to hash-based cryptography would protect Ethereum against future quantum attacks. Ethlabs co-founder Julian Ma called the undertaking "one of the largest efforts done in blockchain, not just in Ethereum."

Keccak-256 produces a fixed-length, 256-bit fingerprint from data, allowing users to check data integrity. Quantum attacks exploit vulnerabilities in existing cryptographic systems through quantum computing. The Foundation's blog post warned that a failure of the hash function underpinning Ethereum's post-quantum security would compromise the rest of that security. The Foundation judged Keccak the safest candidate after nearly two decades of resistance to attacks.

The Foundation initially sought a balance between processing speed and security when researching hash functions. The Foundation rejected SHA-256, which Bitcoin uses, because collision attacks affected more than half of SHA-256's protection. Improvements in SNARK performance subsequently made security decisive, according to the Foundation. SNARKs are cryptographic proofs that verify statements without revealing the underlying data.

Poseidon was developed in 2019 specifically for zero-knowledge proofs. Conventional hash functions, including SHA-256, made those proofs very slow. However, reduced-round versions of Poseidon remained vulnerable to attacks, while better SNARK performance narrowed Poseidon's speed advantage. The Foundation also evaluated BLAKE2 and BLAKE3, general-purpose hash functions used in VPNs and the Linux kernel. The Foundation acknowledged the speed of BLAKE2 and BLAKE3 but rejected both because research into resistance to attacks was limited.

Quantum resistance remains the long-term objective, but AI-assisted attacks have become a more immediate security priority. More powerful AI systems have prompted concerns about cryptographic security, including the systems Ethereum uses. Ma proposed an approach to Ethereum's resistance against quantum computing and AI on November 11. Ma stressed the importance of post-quantum security but said, "AI is here today and it's breaking everything around us." Ma attributed Ethereum's 100% uptime to a proactive security culture that puts security above all other considerations. The Foundation's blog post said AI-assisted attacks had not affected Keccak-256 so far.

Ma said much of Ethereum's community supports prioritizing post-quantum security. Ma said almost all core developers want to give post-quantum security precedence, describing that agreement as "80, 90% of the win." Ma said the remaining debate concerns which other upgrades should be postponed to accommodate that priority.

The Foundation said adopting Keccak would require software teams to write little additional code. Ethereum has used Keccak for addresses since Ethereum's launch, allowing client teams to reuse code rather than develop and test another hash function. The Foundation also recommended gradually replacing SHA-256 with Keccak for certain consensus-layer hashing operations. Core developers have not approved the Ethlabs proposal. The Foundation's published roadmap still sets December 2029 as the target for quantum resistance.

This content is an AI-generated summary/analysis for informational purposes only and does not constitute investment advice.