Anemoi
Overview
Anemoi is an AO hash function that introduces the Flystel construction, a novel approach to building the nonlinear layer. Instead of applying a simple power map, Anemoi uses a 2-branch open Flystel that provides both efficiency and strong algebraic properties.
- Authors: Bouvier, Briaud, Chaidos, Perrin, Salen, Velichkov, Willems
- Year: 2022
- S-box: Open Flystel (based on and )
- Structure: SPN with Flystel nonlinear layer
The Flystel construction
The open Flystel operates on pairs :
- Compute (the "expensive" direction)
- Compute (quadratic function)
- Mix: the two branches interact to produce the output pair
The key insight is that the open Flystel is:
- Efficient to evaluate forward (uses which is cheap in-circuit for some proof systems)
- Hard to invert (requires solving a system involving both and the quadratic)
Security properties
Anemoi's security analysis emphasizes:
- Groebner basis resistance: the Flystel structure produces polynomial systems with higher solving degree than simple power maps
- Differential uniformity: analyzed through the composite structure of the Flystel
- Algebraic degree: the combination of and in the Flystel provides fast degree growth
Security timeline
2022 - Original paper
Introduces Anemoi with comprehensive security analysis including Groebner basis experiments, differential analysis, and algebraic degree bounds.
2023 - Subsequent analyses
Further study of the Flystel structure's resistance to algebraic attacks.
Sage code
Reference implementation: sage/anemoi/flystel.sage
References
- Bouvier, Briaud, Chaidos, Perrin, Salen, Velichkov, Willems. "New Design Techniques for Efficient Arithmetization-Oriented Hash Functions: Anemoi Permutations and Jive Compression Mode" (CRYPTO 2023) ePrint 2022/840