Paper 2025/536

A Fiat-Shamir Transformation From Duplex Sponges

Alessandro Chiesa, École Polytechnique Fédérale de Lausanne
Michele Orrù, French National Centre for Scientific Research
Abstract

The Fiat-Shamir transformation underlies numerous non-interactive arguments, with variants that differ in important ways. This paper addresses a gap between variants analyzed by theoreticians and variants implemented (and deployed) by practitioners. Specifically, theoretical analyses typically assume parties have access to random oracles with sufficiently large input and output size, while cryptographic hash functions in practice have fixed input and output sizes (pushing practitioners towards other variants). In this paper we propose and analyze a variant of the Fiat-Shamir transformation that is based on an ideal permutation of fixed size. The transformation relies on the popular duplex sponge paradigm, and minimizes the number of calls to the permutation (given the amount of information to absorb and to squeeze). Our variant closely models deployed variants of the Fiat-Shamir transformation, and our analysis provides concrete security bounds that can be used to set security parameters in practice. We additionally contribute spongefish, an open-source Rust library implementing our Fiat-Shamir transformation. The library is interoperable across multiple cryptographic frameworks, and works with any choice of permutation. The library comes equipped with Keccak and Poseidon permutations, as well as several "codecs" for re-mapping prover and verifier messages to the permutation's domain.

Metadata
Available format(s)
PDF
Category
Cryptographic protocols
Publication info
Preprint.
Keywords
Fiat-Shamirduplex sponge
Contact author(s)
alessandro chiesa @ epfl ch
m @ orru net
History
2025-03-23: approved
2025-03-22: received
See all versions
Short URL
https://ia.cr/2025/536
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2025/536,
      author = {Alessandro Chiesa and Michele Orrù},
      title = {A Fiat-Shamir Transformation From Duplex Sponges},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/536},
      year = {2025},
      url = {https://eprint.iacr.org/2025/536}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.