

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


See course homepage for collaboration policy and late submissions.
Problem 1 (15 pts) In class, we saw one method for increasing the expansion function of a pseu- dorandom generator; here we give another. Let G : { 0 , 1 }∗^ → { 0 , 1 }∗^ be a pseudorandom generator with expansion function `(n), and let t(n) be a function. Consider the function
G′(x) = G(t(|x|))(x) = G(G(G(· · · G( ︸ ︷︷ ︸ t(|x|)
x)))).
Problem 2 (10 pts) A bit-commitment scheme is a cryptographic primitive that involves two par- ties, a sender and a receiver. The sender commits to a value b ∈ { 0 , 1 } by sending the receiver a string (called the commitment). Later, the sender can “reveal” the value b by sending the receiver another string (called the opening), which the receiver checks against the commitment. The com- mitment should be binding, meaning that it should be impossible for the sender to open it as both a 0 and 1. On the other hand, the commitment should be hiding in that the committed value should be completely hidden (to a polynomial-time receiver) prior to revelation.
Problem 3 (15 pts) Let Fn : {fk : { 0 , 1 }n^ → { 0 , 1 }n}k∈{ 0 , 1 }n be a family of pseudorandom func- tions. We would like to construct a family of pseudorandom functions with 2 n-bit outputs from Fn. Consider the following constructions:
Problem 4 (20 pts) Suppose G : { 0 , 1 }n^7 → { 0 , 1 }^2 n^ is a PRG with security 2 n/^10. Formally, this means that for every non uniform adversary A running in time less than 2 n/^10 , we have
| Pr[A(G(Un)) = 1] − Pr[A(U 2 n) = 1]| ≤ 2 −n/^10
(such PRGs are believed to exists under a strong form of the FACTORING assumptions). Consider the GGM construction of PRFs we saw in class (the tree construction) using this PRG. Suppose that we use a tree of depth m = n^0.^1 to build a function fk : { 0 , 1 }m^7 → { 0 , 1 }m^ for each k ∈ { 0 , 1 }n as described in class. That is,
fk(x) = Gxm (Gxm− 1... Gx 1 (k).. .))
. Prove that fk is a PRF even if the adversary is given the complete truth table of fk (but not the value of k). More formally, show that for any non uniform PPT A running in time polynomial in the size of the truth table of fk (that is, polynomial in m 2 m), we have
| Pr[A(fk) = 1] − Pr[A(Um 2 m ) = 1]| ≤ neg(n)
where A(fk) means ‘the output of A given the truth table of fk, which is a sequence of m 2 m^ bits’ and A(Um 2 m^ ) means ‘the output of A given m 2 m^ random bits’. (Hint: Use the hybrid argument but observe that in this case the proof is simpler since the adversary has enough time to construct the entire tree.)
Problem 5 (20 pts) 1. Let f : { 0 , 1 }m^7 → { 0 , 1 }m^ be a random function. Show that, with probability close to 1, f cannot be computed by a non uniform algorithm A running in time m^100. (Hint: estimate the number of algorithms of code size m^100 ).