How Fast Does the Inverse Walk Approximate a Random Permutation?
Vishesh Jain, Tianren Liu, Clayton Mizgerd, Angelos Pelecanos, Stefano Tessaro, Vinod Vaikuntanathan
Abstract
For a finite field of size , the (patched) inverse permutation computes the inverse of over when and outputs when , and the (AddRoundKey) permutation adds a fixed constant to its input, i.e., We study the process of alternately applying the permutation followed by a random linear permutation , which is a random walk over the alternating (or symmetric) group that we call the inverse walk.
We show matching upper and lower bounds on the number of rounds it takes for this process to approximate a random permutation over . We show that rounds of the inverse walk over the field of size with rounds generate a permutation that is -close (in total variation distance) to a uniformly random permutation of the appropriate sign. Our bound on is optimal, up to a constant.
In fact, we prove stronger lower bounds showing that the inverse walk needs at least rounds to become -approximately -wise independent and at least rounds to get to within in total variation distance of a given -wise independent permutation.
Our result answers an open question from the work of Liu, Pelecanos, Tessaro, and Vaikuntanathan (CRYPTO 2023) by proving the -wise independence of (a variant of) AES for up to the square root of the field size, compared to the original result that only held for . It also constitutes a significant improvement on a result of Carlitz (Proc. American Mathematical Society, 1953) who showed a reachability result: namely, that every even permutation can be generated eventually by composing and . We show a tight convergence result, namely a tight quantitative bound on the number of rounds to reach a random (even) permutation.
Our work brings to the forefront the view of block ciphers as random walks and uses novel combinatorial and analytic tools to study their pseudorandomness, both of which we hope will prove useful in the study of block ciphers.
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.
Related papers
- Layout Graphs, Random Walks and the t-Wise Independence of SPN Block CiphersTianren Liu, Angelos Pelecanos, Stefano Tessaro, Vinod VaikuntanathanCRYPTO 2023 · 9 citations
- The t-wise Independence of Substitution-Permutation NetworksTianren Liu, Stefano Tessaro, Vinod VaikuntanathanCRYPTO 2021 · 17 citations
- Pseudorandomness Properties of Random Reversible CircuitsWilliam Gay, William He, Nicholas Kocurek, Ryan O'DonnellCRYPTO 2025 · 1 citation
- Pairwise Independence of AES-Like Block CiphersTim Beyne, Gregor Leander, Immo SchüttEUROCRYPT 2026 · 1 citation
- When Simple Permutations Mix Poorly - Limited Independence does not Imply PseudorandomnessJesko Dujmovic, Angelos Pelecanos, Stefano TessaroEUROCRYPT 2026
