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

04/21/2020
by   Ido Shahaf, et al.
0

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=Ω(log N) the distinguishing advantage is upper bounded by O(q · s / N), and even by O(q · s / N log N) when q ≤ N^1 - ϵ for any constant ϵ > 0 where it is nearly tight with respect to the KL divergence.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset