The Ethereum Foundation has recommended Keccak-256 as the hash function for the network’s hash-based cryptography, a decision driven by the need to address emerging threats from AI-assisted cryptanalysis and future quantum computing capabilities.
The recommendation was revealed on Tuesday, 24th November. It represents a pivotal step in Ethereum’s preparation for a comprehensive cryptographic overhaul. The Foundation has described this upgrade as more difficult than the 2022 Merge, which transitioned the network to proof-of-stake, noting that there is less time available for this specific implementation.
Evaluation of Hash Function Candidates
The selection process involved evaluating five hash function candidates: Poseidon, Poseidon2, BLAKE3, BLAKE2, SHA-256, and Keccak-256. Security was the primary criterion in this decision, taking precedence over other performance metrics.
Poseidon and Poseidon2, which are described as ZK-friendly hashes, were eliminated after improvements in zero-knowledge proof technology removed their performance advantages. BLAKE3 and BLAKE2, identified as fast hashes, were also considered, but the Foundation prioritized long-term security resilience over speed for this application.
SHA-256 and Keccak-256 are both hashes already in use on Ethereum. However, the Foundation’s analysis revealed a significant disparity in their resistance to known attacks. The best collision attack for SHA-256 has reached 38 out of 64 rounds. In contrast, the best collision attack for Keccak-256 has reached only 5 out of 24 rounds. This data point was central to the recommendation.
The Foundation also recommended against using SHA3-256 alongside Keccak-256. The rationale is that both algorithms use the same underlying permutation and possess similar security characteristics. Therefore, adding SHA3-256 would not provide the necessary diversification of security properties.
AI and Cryptanalysis Risks
According to the Foundation’s blog post, Keccak-256 has remained unaffected by AI-assisted cryptanalysis so far. This stands in contrast to other algorithms that have shown vulnerabilities under advanced computational scrutiny. The Foundation described the analysis as “arguably the most extensive cryptanalysis out of all unbroken traditional hashes.”
Kev Wedderburn, an Ethereum Foundation Researcher, highlighted the changing landscape of software security. “Models are already finding bugs in production software faster than people can review them,” Wedderburn stated. This observation underscores why the Foundation views AI as a more urgent risk than quantum computing in the immediate term, even though quantum threats remain a long-term concern.
Protocol Changes and Team Expansion
The planned upgrade will fundamentally alter how Ethereum operates at the cryptographic level. It will overhaul how validators sign messages, change how users authorize transactions, and modify how Ethereum verifies data posted by rollups. These changes are critical for maintaining the integrity of the network as computational power evolves.
To support this complex transition, the Foundation has doubled the size of its protocol security team. The goal of this expansion is to ensure formal verification of the new cryptographic implementations. By increasing headcount, the organization aims to provide a higher degree of mathematical certainty regarding the security of the upgrade. The security work is intended to progress at the same pace as the broader protocol development, ensuring that security considerations are integrated throughout the design process rather than added as an afterthought.
Why It Matters
This upgrade affects every participant in the Ethereum ecosystem, from validators to rollup developers, by changing the fundamental cryptographic primitives used for signing and verification. The shift to Keccak-256 addresses specific vulnerabilities identified in SHA-256, reducing the risk of collision attacks. For users, this means a more secure foundation for transaction authorization, while for developers, it signals a protocol that is actively adapting to AI-driven security threats.
Stay Ahead of the Crypto Market
Get breaking Bitcoin, Ethereum & altcoin news the moment it happens. Free instant alerts.