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

2026Year
1Citations

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 about this paper

Ask your agent about it.

Lune has read the top-tier papers around this one, so every answer names the papers it rests on.

Questions to start from

Your agent calls

Lunesearch_papers

Ask in Lune

Free to start. No credit card required.

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines