The Athena Consortium · v1.0 · November 29, 2026
On the Hash Functions to Use in ZK-friendly Protocols Defined over Small Primes
Editor: Léo Perrin (Inria Paris, France)
Members: Tomer Ashur, Magali Bardet, Amit Singh Bhati, Aurélien Boeuf,
Clémence Bouvier, Orr Dunkelman, Lorenzo Grassi, Katharina Koschatko, Christian Rechberger,
Arnab Roy, Markus Schofnegger, Sundas Tariq, Morten Øygarden
Executive Summary
Zero-knowledge protocols increasingly rely on hash functions natively defined over 31- or 64-bit prime fields, operating on states of 8 to 24 field elements — what the consortium terms the Many Small field elements (MS) setting. Yet most cryptanalytic literature addresses the Few Big field elements (FB) setting, where the characteristic is hundreds of bits long and solving CICO-1 is meaningful. In the MS regime, CICO-1 can be solved by brute force, and far less is known both about concrete attacks and about how to argue their impossibility.
The concluding report resolves this gap by evaluating ten hash function families — all arithmetization-oriented designs either published at peer-reviewed venues as of spring 2026 or used in practice, alongside two classical ARX baselines (BLAKE2 and BLAKE3) — specifically for the parameter pairs:
where (KoalaBear), (Mersenne31), and (Goldilocks).
Scope note: These recommendations reflect only the estimated security level of each primitive. Criteria such as prover performance, hardware efficiency, or fitness for a specific proof system were deliberately excluded from the selection process. Likewise, the fact that hash functions defined only over larger primes are out of scope should not be interpreted either way regarding their security.
Trust Categories and Classifications
| Category | Hash Functions |
|---|---|
| Encouraged | Rescue, BLAKE2 |
| Adequate | Poseidon, Poseidon2, XHash12-Goldilocks, XHash8-Goldilocks |
| Premature | BLAKE3, Monolith, Tip5, XHash24-M31, XHash16-M31 |
| Unrecommended | Anemoi, Griffin |
- Encouraged: Singled out from among the adequate functions as particularly trustworthy. These primitives received the strongest preference within the consortium (setting aside potential conflicts of interest), have undergone extensive relevant cryptanalysis, and are expected to command broad support across the wider symmetric cryptography community.
- Adequate: Hash functions whose security the consortium stands behind for general use. Their cryptanalysis and security margins are sufficiently understood; if already deployed in a system, there is at this stage no objective security reason to switch. (Singling out Encouraged primitives should not be read as expressing distrust in the Adequate category.)
- Premature: Primitives that are very recent or have not yet received enough third-party cryptanalysis for a clear judgment — including novel Split-and-Lookup designs (Monolith, Tip5), recently introduced 31-bit XHash variants, and BLAKE3 (whose reduced 7-round count and distinct message schedule do not simply inherit BLAKE2’s analysis). They are not known to be broken, but are not endorsed.
- Unrecommended: Primitives the consortium recommends avoiding. Although no MS variant within scope is currently broken, severe algebraic attacks (FreeLunch and resultant-based methods) against large-prime variants of Anemoi and Griffin make it difficult to trust these designs in the small-prime setting.
Recommended Permutations over
When an arithmetization-oriented permutation over is needed, the consortium’s recommendations indicate the following instances for each field and state width (primitives in Encouraged are listed first):
| Prime \ Width | ||||
|---|---|---|---|---|
| KoalaBear () | — | — | Rescue Poseidon Poseidon2 | Rescue Poseidon Poseidon2 |
| Mersenne31 () | — | — | Rescue Poseidon Poseidon2 | Rescue Poseidon Poseidon2 |
| Goldilocks () | Rescue Poseidon Poseidon2 | Rescue Poseidon Poseidon2 XHash12 XHash8 | — | — |
Permutations deemed at least Adequate may be used in any safe mode of operation, such as a sponge for hashing arbitrarily long messages or a permute-then-truncate construction for compression. When an application does not require an arithmetization-oriented primitive, BLAKE2 is encouraged.
Structure of the Report
- Chapter 1 — Detailed Recommendations (pp. 1–6): Defines the ten shortlisted families and target parameters, presents the four-tier categorization, documents the consortium’s consensus and voting process, and explains the security rationale for each family.
- Chapter 2 — Cryptanalysis State-of-the-Art (pp. 7–38): Contrasts the FB and MS regimes, reviews hash-function security estimation (sponge/feed-forward modes, CICO-, statistical distinguishers, primitive generators, and unswervingness), details the complexity of Polynomial System Solving (F4/F5, FGLM, FreeLunch, CheapLunch, resultant methods, and hybrid approaches), and provides primitive-by-primitive cryptanalysis surveys for Anemoi, BLAKE2/BLAKE3, Griffin, Monolith, Poseidon/Poseidon2, Rescue, Tip5, and XHash.
- Chapter 3 — Specifications of the Permutations (pp. 39–72): Gives self-contained specifications — parameters, MDS/internal matrices, Grain/SHAKE256 round constants, and test vectors — for all Encouraged and Adequate AO permutations (Poseidon, Poseidon2, Rescue, and XHash over Goldilocks), followed by a full bibliography (pp. 73–80).
Read the Full Report
Citing This Report
@techreport{Athena26,
author = {{The Athena Consortium}},
editor = {L{\'e}o Perrin},
title = {On the Hash Functions to Use in ZK-friendly Protocols Defined over Small Primes},
institution = {The Athena Consortium},
type = {Technical Report},
number = {v1.0},
year = {2026},
month = nov,
url = {https://athena-hashes.net/reports/athena-v1.0.pdf}
}