Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

LetG:{0,1} n {0,1} l (n) be an algorithm which takes s=s1s2sn{0,1} n as input and outputs G(s) =s1sns2sn1s3sn2sns1. For example,G(10) = 1001,G(110) =101101. (a) Find

LetG:{0,1}n{0,1}l(n) be an algorithm which takes s=s1s2sn{0,1}nas input and outputs G(s) =s1sns2sn1s3sn2sns1.

For example,G(10) = 1001,G(110) =101101.

(a) Find the expansion factor l(n).

(b) One efficient distinguisher D that claims G is not a pseudorandom generator is the following: For w l(n),D(w) = 1if the first and last bits are equal, and D(w) = 0 otherwise.Find another efficient distinguisher D that claims G is not a pseudorandom generator.

(c) Using the distinguisher you obtained in part (b), find the value of

| Prs{0,1}n D(G(s))Prr{0,1}l(n) D(r) |

and conclude that G is not pseudorandom.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Your Financial Future How To Take Control Of Your Financial Future

Authors: Deloris Lutke

1st Edition

979-8388730831

More Books

Students explore these related Finance questions

Question

Describe the concepts of quality and value.

Answered: 3 weeks ago