ALFOMs and the Moirai: Quantifying the Performance/Security Tradeoff for ZK-friendly Hash Functions

Zero-Knowledge (ZK) protocols rely internally on hash functions for their security arguments. However, the hash functions that are the most efficient in this context differ substantially from e.g. SHA-3: their round function $R$ must enable an efficient arithmetization of its verification. In practice, it means that verifying if y = R(x) involves as few finite field multiplications as possible. In turn, this design requirement implies a greater vulnerability to algebraic attacks. In fact, their recent improvements have proven devastating, which implies the need to completely rethink the methods used to ensure security against them. In this paper, we show that it is possible to build a simple yet efficient security argument based on a precise estimate of the so-called “ideal degree” of a system of equations. Furthermore, we show that the increase of this quantity across rounds is tightly connected to the cost of the hash function in two different arithmetizations, namely AIR and R1CS. We precisely quantify this relation by introducing ALgebraic Figures Of Merit (ALFOMs) that capture how efficient a specific primitive (and in fact its round function) is at increasing the algebraic security per unit of cost. This new insight allows us to better understand sometimes puzzling performance differences between state-of-the-art hash functions in the R1CS and AIR cases, and to provide a fair and simple comparison of their round functions in this context. Furthermore, we present a new group of round functions we call the Moirai (a case study rather than a full new design) which allow us to explore what a round function providing optimal performance/security tradeoff could look like.

Authors

Institutions

Publication Details

Journal
IACR Transactions on Symmetric Cryptology
Published
2026-10-30
DOI
https://doi.org/10.46586/tosc.a0ivomx4wo3r
Primary Topic
Cryptographic Implementations and Security
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

ALFOMs and the Moirai: Quantifying the Performance/Security Tradeoff for ZK-friendly Hash Functions

Léo Paul Perrin, Aurélien Boeuf
5 links
IACR Transactions on Symmetric Cryptology
Cryptographic Implementations and Security
article

ALFOMs and the Moirai: Quantifying the Performance/Security Tradeoff for ZK-friendly Hash Functions

Léo Paul Perrin, Aurélien Boeuf
article en

Abstract

Zero-Knowledge (ZK) protocols rely internally on hash functions for their security arguments. However, the hash functions that are the most efficient in this context differ substantially from e.g. SHA-3: their round function $R$ must enable an efficient arithmetization of its verification. In practice, it means that verifying if y = R(x) involves as few finite field multiplications as possible. In turn, this design requirement implies a greater vulnerability to algebraic attacks. In fact, their recent improvements have proven devastating, which implies the need to completely rethink the methods used to ensure security against them. In this paper, we show that it is possible to build a simple yet efficient security argument based on a precise estimate of the so-called “ideal degree” of a system of equations. Furthermore, we show that the increase of this quantity across rounds is tightly connected to the cost of the hash function in two different arithmetizations, namely AIR and R1CS. We precisely quantify this relation by introducing ALgebraic Figures Of Merit (ALFOMs) that capture how efficient a specific primitive (and in fact its round function) is at increasing the algebraic security per unit of cost. This new insight allows us to better understand sometimes puzzling performance differences between state-of-the-art hash functions in the R1CS and AIR cases, and to provide a fair and simple comparison of their round functions in this context. Furthermore, we present a new group of round functions we call the Moirai (a case study rather than a full new design) which allow us to explore what a round function providing optimal performance/security tradeoff could look like.

IACR Transactions on Symmetric CryptologyVol. 2026(3)
Institut national de recherche en sciences et technologies du numérique (FR), Simula UiB (NO)
Openalex Percentile: Top 14%
Cryptographic Implementations and Security
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
ALFOMs and the Moirai: Quantifying the Performance/Security Tradeoff for ZK-friendly Hash Functions — Léo Paul Perrin, Aurélien Boeuf · IACR Transactions on Symmetric Cryptology (2026) | TGRS Research Map | TGRS