Question: let ( PRG ) G: { 0 , 1 } ^ n { 0 , 1 } ^ 2 n be a pseudorandom generator and

let (PRG) G:{0,1}^n{0,1}^2n be a pseudorandom generator and lets denote G(x)y_1|| y_2, where y_1,y_2 are both n-bit strings, and we use G_1(x) to represent y_1, and G_2(x) to represent y_2.
Define G':{0,1}^n{0,1}^4n where G^'(x)G(G_1(x))||G(G_2(x))G(y_1)||G(y_2). Is G' still a PRG? If yes, explain why; if not, give an explicit attack that violates the PRG definition.
Define G'':{0,1}^n{0,1}^6n where G^''(x)G(y_1)||G(y_2)||G(y_1)G(y_2). Is G'' still a PRG? If yes, explain why; if not, give an explicit attack that violates the PRG definition.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!