New Design Techniques for Efficient Arithmetization-Oriented Hash Functions: ttAnemoi Permutations and ttJive Compression Mode
Clémence Bouvier, Pierre Briaud, Pyrros Chaidos, Léo Perrin, Robin Salen, Vesselin Velichkov, Danny Willems
Abstract
Advanced cryptographic protocols such as Zero-knowledge (ZK) proofs of knowledge, widely used in cryptocurrency applications such as Zcash, Monero, Filecoin, Tezos, Topos, demand new cryptographic hash functions that are efficient not only over the binary field F2, but also over large fields of prime characteristic F𝑝. This need has been acknowledged by the wider community and new so-called Arithmetization-Oriented (AO) hash functions have been proposed, e.g. MiMC-Hash, Rescue-Prime, Poseidon, Reinforced Concrete and Griffin to name a few. In this paper we propose Anemoi: a new family of ZK-friendly permutations, that can be used to construct efficient hash functions and compression functions. The main features of these algorithms are that 1) they are designed to be efficient within multiple proof systems (e.g. Groth16, Plonk, etc.), 2) they contain dedicated functions optimised for specific applications (namely Merkle tree hashing and general purpose hashing), 3) they have highly competitive performance e.g. about a factor of 2 improvement over Poseidon and Rescue-Prime in terms of R1CS constraints, a 21%-35% Plonk constraint reduction over a highly optimized Poseidon implementation, as well as competitive native performance, running between two and three times faster than Rescue-Prime, depending on the field size. On the theoretical side, Anemoi pushes further the frontier in understanding the design principles that are truly entailed by arithmetization-orientation. In particular, we identify and exploit a previously unknown relationship between CCZ-equivalence and arithmetization-orientation. In addition, we propose two new standalone components that can be easily reused in new designs. One is a new S-box called Flystel, based on the well-studied butterfly structure, and the second is Jive -a new mode of operation, inspired by the "Latin dance" symmetric algorithms (Salsa, ChaCha and derivatives). Our design is a conservative one: it uses a very classical Substitution-Permutation Network structure, and our detailed analysis of algebraic attacks highlights can be of independent interest.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 98e1dafd-cb15-4be5-a3ed-ae916d2b5acfBuilds on5
- Poseidon: A New Hash Function for Zero-Knowledge Proof SystemsLorenzo Grassi, Dmitry Khovratovich, Christian Rechberger, Arnab Roy et al.USENIX Security 2021 · 410 citations
- Ciminion: Symmetric Encryption Based on Toffoli-Gates over Large Finite FieldsChristoph Dobraunig, Lorenzo Grassi, Anna Guinet, Daniël KuijstersEUROCRYPT 2021 · 64 citations
- Out of Oddity - New Cryptanalytic Techniques Against Symmetric Primitives Optimized for Integrity Proof SystemsTim Beyne, Anne Canteaut, Itai Dinur, Maria Eichlseder et al.CRYPTO 2020 · 60 citations
- Reinforced Concrete: A Fast Hash Function for Verifiable ComputationLorenzo Grassi, Dmitry Khovratovich, Reinhard Lüftenegger, Christian Rechberger et al.CCS 2022 · 34 citations
- From Farfalle to Megafono via Ciminion: The PRF Hydra for MPC ApplicationsLorenzo Grassi, Morten Øygarden, Markus Schofnegger, Roman WalchEUROCRYPT 2023 · 25 citations
Related papers
- Boosting Efficiency and Security in Arithmetization-Oriented Hashing for Zero-Knowledge Proof SystemsElena Andreeva, Rishiraj Bhattacharyya, Arnab Roy, Stefano TrevisaniUSENIX Security 2026
- Improved Resultant Attack Against Arithmetization-Oriented PrimitivesAugustin Bariant, Aurélien Boeuf, Pierre Briaud, Maël Hostettler et al.CRYPTO 2025 · 4 citations
- Horst Meets Fluid-SPN: Griffin for Zero-Knowledge ApplicationsLorenzo Grassi, Yonglin Hao, Christian Rechberger, Markus Schofnegger et al.CRYPTO 2023 · 38 citations
- The Algebraic FreeLunch: Efficient Gröbner Basis Attacks Against Arithmetization-Oriented PrimitivesAugustin Bariant, Aurélien Boeuf, Axel Lemoine, Irati Manterola Ayala et al.CRYPTO 2024 · 17 citations
- AcclMT: A Highly Resource-Efficient and Flexible Poseidon Hash-Based Merkle Tree ArchitectureChangxu Liu, Hao Zhou, Lan Yang, Yifei Feng et al.DAC 2025
