# An Information-Theoretic Proof of the Streaming Switching Lemma for Symmetric Encryption

arXiv: https://arxiv.org/abs/2004.09935 · HTML: https://mlsanity.com/paper/2004.09935/

## Key facts

- Cited by 1 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 21 Apr 2020.

## Built on by (most cited first, 1 of 1)

- [Statistical Inference with Limited Memory: A Survey](https://mlsanity.com/paper/2312.15225/) (2023)

## Abstract (arXiv)

Motivated by a fundamental paradigm in cryptography, we consider a recent variant of the classic problem of bounding the distinguishing advantage between a random function and a random permutation. Specifically, we consider the problem of deciding whether a sequence of q values was sampled uniformly with or without replacement from [N], where the decision is made by a streaming algorithm restricted to using at most s bits of internal memory. In this work, the distinguishing advantage of such an algorithm is measured by the KL divergence between the distributions of its output as induced under the two cases. We show that for any s=Omega(log N) the distinguishing advantage is upper bounded by O(q · s / N), and even by O(q · s / N log N) when q ≤ N1 - ε for any constant ε > 0 where it is nearly tight with respect to the KL divergence.
