Switching Lemma

For any distinguisher issuing queries to its oracle, where is a random function and is a random permutation, both from to .

Memory bounded version

This has been subsequently improved by Din20 for streaming distinguishers with bits of memory to where is a random function and is a random permutation, both from to .