Ethereum Foundation backs Keccak-256 to counter quantum, AI threats

Ethereum Foundation backs Keccak-256 to counter quantum, AI threats

Ethereum Foundation Backs Keccak-256 to Counter Quantum and AI Threats

Ethlabs co-founder Julian Ma told Cointelegraph that AI poses a more immediate threat as Ethereum prepares for one of its biggest security overhauls since the Merge. The Ethereum Foundation has recommended the Keccak-256 hash function as the basis for Ethereum’s cryptographic defenses against quantum computing and AI-assisted attacks, according to a blog post on November 24. It chose the nearly 20-year-old function over Poseidon, a newer alternative the team had spent years attempting to harden.

A Comprehensive Security Overhaul

Described by Ethlabs co-founder Julian Ma as “one of the largest efforts done in blockchain, not just in Ethereum,” the planned switch to hash-based cryptography acts as a critical move to protect the chain from the future threat of quantum-based attacks. Keccak-256 is a cryptographic hash function that converts data into a fixed-length, 256-bit digital fingerprint used to verify data integrity, while quantum attacks use quantum computing to exploit weaknesses in existing cryptographic systems.

The chosen hash function would form the backbone of Ethereum’s post-quantum security, meaning that “if it is broken, everything else is broken,” the blog post said. With nearly two decades of resistance to attacks, Keccak was considered the most secure of the candidates evaluated by the Foundation.

Balancing Speed and Security

While quantum resistance is the long-term goal of the switch, protecting against the rising threat of AI-assisted attacks has become a more immediate priority. The initial focus of the Ethereum Foundation’s research on hash functions was balancing the speed and security of the new system. SHA-256, despite its use in Bitcoin, was passed on due to collision attacks affecting more than half of its protection.

Since the research began, the performance of SNARKs (cryptographic proofs for verifying statements without revealing underlying data) has improved. The Foundation noted that security was therefore “the deciding factor.”

Other Candidates and Concerns

Poseidon, the hash function the team had previously focused on, was designed in 2019 specifically to handle zero-knowledge proofs. Traditional hashes like SHA-256 made these proofs painfully slow. However, reduced-round versions of Poseidon were still open to attacks, and improvements in SNARK performance reduced its speed advantage.

Two other functions also considered by the foundation were BLAKE2 and BLAKE3, general-purpose hashes used in VPNs and the Linux kernel. While their speed was noted in the blog post, limited research into their resistance to attacks led the Foundation to rule them out as options for the Ethereum network.

AI as a Primary Concern

Although the move to hash-based cryptography is focused on reducing the threat of quantum computing, AI has become a primary security concern. Increasingly powerful AI systems have raised concerns about the security of cryptographic systems, including those Ethereum relies on.

Ma explained that much of the Ethereum community is aligned on making post-quantum security a priority. He said nearly all core developers are keen to put it first, which he described as “80, 90% of the win,” with the remaining discussions centered on which other upgrades should make way for it.

For the teams that build Ethereum’s software, the next few months will be crucial as they work to integrate Keccak-256 into the network, ensuring that Ethereum remains secure in the face of evolving threats.

Leave a Reply