Lune

CRYPTO2026Top-tier venue

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 F\mathbb{F} of size nn, the (patched) inverse permutation INV:F→F\mathrm{INV}: \mathbb{F} \to \mathbb{F} computes the inverse of xx over F\mathbb{F} when x≠0x\neq 0 and outputs 00 when x=0x=0, and the ARKK\mathrm{ARK}_K (AddRoundKey) permutation adds a fixed constant KK to its input, i.e., INV(x)=xn−2\mboxandARKK(x)=x+K  .\mathrm{INV}(x) = x^{n-2} \hspace{.1in} \mbox{and} \hspace{.1in} \mathrm{ARK}_K(x) = x + K \;. We study the process of alternately applying the INV\mathrm{INV} permutation followed by a random linear permutation ARKK\mathrm{ARK}_K, 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 F\mathbb{F}. We show that rr rounds of the inverse walk over the field of size nn with r=Θ(nlog⁡n+nlog⁡1ϵ)r = \Theta\left(n\log n + n\log \frac{1}{\epsilon}\right)rounds generate a permutation that is ϵ\epsilon-close (in total variation distance) to a uniformly random permutation of the appropriate sign. Our bound on rr is optimal, up to a constant.

In fact, we prove stronger lower bounds showing that the inverse walk needs at least t=Ω(nlog⁡(1/ϵ))t = \Omega(n \log(1/\epsilon)) rounds to become ϵ\epsilon-approximately 44-wise independent and at least s=Ω(nlog⁡n)s = \Omega(n\log n) rounds to get to within (1−on(1))(1-o_n(1)) in total variation distance of a given 44-wise independent permutation.

Our result answers an open question from the work of Liu, Pelecanos, Tessaro, and Vaikuntanathan (CRYPTO 2023) by proving the tt-wise independence of (a variant of) AES for tt up to the square root of the field size, compared to the original result that only held for t=2t=2. 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 INV\mathrm{INV} and ARK\mathrm{ARK}. 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.

Questions to start from

Lune can draw on

its abstract · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. Layout Graphs, Random Walks and the t-Wise Independence of SPN Block CiphersTianren Liu, Angelos Pelecanos, Stefano Tessaro, Vinod VaikuntanathanCRYPTO 2023 · 9 citations
  2. The t-wise Independence of Substitution-Permutation NetworksTianren Liu, Stefano Tessaro, Vinod VaikuntanathanCRYPTO 2021 · 17 citations
  3. Pseudorandomness Properties of Random Reversible CircuitsWilliam Gay, William He, Nicholas Kocurek, Ryan O'DonnellCRYPTO 2025 · 1 citation
  4. Pairwise Independence of AES-Like Block CiphersTim Beyne, Gregor Leander, Immo SchüttEUROCRYPT 2026 · 1 citation
  5. When Simple Permutations Mix Poorly - Limited Independence does not Imply PseudorandomnessJesko Dujmovic, Angelos Pelecanos, Stefano TessaroEUROCRYPT 2026
Dusk over the sea between two cliffs drawn in fine vertical lines