Today we finish the analysis of a construction of a pseudorandom permutation (block cipher) given a pseudorandom function.
Recall that if F:{0,1}m→{0,1}m is a function, then we define the Feistel permutationDF:{0,1}2m→{0,1}2m associated with F as
DF(x,y):=y,x⊕F(y)(1)
Let F:{0,1}k×{0,1}m→{0,1}m be a pseudorandom function, we define the following function P:{0,1}4k×{0,1}2m→{0,1}2m: given a key K(K1,…,K4) and an input x,
PK(x):=DFK4(DFK3(DFK2(DFK1(x))))(2)
If F=F1,F2,F3,F4 are four functions, then PF is the same as the above construction but using the functions Fi:
PF(x):=DF4(DF3(DF2(DF1(x))))(3)
If A is an oracle algorithm, we define as S(A) the probabilistic process in which we run a simulation of A in which we reply to each query with a random answer.
The proof of the following result is what was missing from yesterday’s analysis.
Lemma 1For every non-repating algorithm A of complexity ≤t we have