Towards a White-Box Secure Fiat-Shamir Transformation
Gal Arnon, Eylon Yogev
Abstract
The Fiat–Shamir transformation is a fundamental cryptographic technique widely used to convert public-coin interactive protocols into non-interactive ones. This transformation is crucial in both theoretical and practical applications, particularly in the construction of succinct non-interactive arguments (SNARKs). While its security is well-established in the random oracle model, practical implementations replace the random oracle with a concrete hash function, where security is merely assumed to carry over.
A growing body of work has given theoretical examples of protocols that remain secure under the Fiat–Shamir transformation in the random oracle model but become insecure when instantiated with any white-box implementation of the hash function. Recent research has shown how these attacks can be applied to natural cryptographic schemes, including real-world systems. These attacks rely on a general diagonalization technique, where the protocol exploits its access to the white-box implementation of the hash function. These attacks cast serious doubt on the security of cryptographic systems deployed in practice today, leaving their soundness uncertain.
We propose a new Fiat–Shamir transformation (XFS) that aims to defend against a broad family of attacks. Our approach is designed to be practical, with minimal impact on the efficiency of the prover and verifier and on the proof length. At a high level, our transformation combines the standard Fiat–Shamir technique with a new type of proof-of-work that we construct.
We provide strong evidence for the security of our transformation by proving its security in a relativized random oracle model. Specifically, we show diagonalization attacks on the standard Fiat–Shamir transformation that can be mapped to analogous attacks within this model, meaning they do not rely on a concrete instantiation of the random oracle. In contrast, we prove unconditionally that our XFS variant of the Fiat–Shamir transformation remains secure within this model. Consequently, any successful attack on XFS must deviate from known techniques and exploit aspects not captured by our model.
We hope that our transformation will help preserve the security of systems relying on the Fiat–Shamir transformation.
Ask Lune
Know where this paper stands in minutes, not an afternoon.
Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
its abstract · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers1
Related papers
- How to Prove False Statements: Practical Attacks on Fiat-ShamirDmitry Khovratovich, Ron D. Rothblum, Lev SoukhanovCRYPTO 2025 · 17 citations
- Weak Fiat-Shamir Attacks on Modern Proof SystemsQuang Dao, Jim Miller, Opal Wright, Paul GrubbsS&P 2023
- Fiat-Shamir for Repeated Squaring with Applications to PPAD-Hardness and VDFsAlex Lombardi, Vinod VaikuntanathanCRYPTO 2020 · 40 citations
- Does Fiat-Shamir Require a Cryptographic Hash Function?Yilei Chen, Alex Lombardi, Fermi Ma, Willy QuachCRYPTO 2021 · 20 citations
- Straight-Line Knowledge Extraction for Multi-Round ProtocolsLior Rotem, Stefano TessaroCRYPTO 2025 · 2 citations
