What Comes After Poseidon2? Athena’s Findings

In July, when Miden and other teams announced Athena, we asked whether projects using Poseidon2 should consider a different hash function. The independent researchers we helped fund have come back with a more interesting answer than a single replacement.

Miden and other ZK projects use small prime fields for performance. Computers can do arithmetic on smaller numbers quickly, which helps generate proofs faster. But field size also matters for security: some of the reasons cryptographers trust a hash function over a large field don’t necessarily apply when the field is small.

The math behind hash safety also shifts when the prime gets small. Past work checked huge 256-bit primes with 2 or 3 state slots, where Poseidon held firm while Griffin and Anemoi took hits. New proof systems use small 31- or 64-bit primes with 8 to 24 state slots. With small primes, an attacker can guess one input and break the usual math proof strategies. Extra state slots also let attackers skip early rounds of Poseidon.

Athena’s researchers looked at each family of hash functions in that small-field setting. For teams building proof systems, their reasoning is worth reading in full: they explain which security arguments still hold, where they break down, and what researchers have yet to test.

Miden funded Athena alongside the Ethereum Foundation, LambdaClass, Attestable, QEDIT, ZKProof, ZisK, Linea and 3MI Labs. Thank you to Léo Perrin and the whole team of cryptanalysts for doing this work and sharing it with everyone who builds on it.

Full Athena report can be found on https://athena-hashes.net/.