Docsity

Problem Set 1 for MATH 778C, Spring 2009: Cryptography and Information Security - Prof. J., Assignments of Mathematics

Toggle sidebar
bg1
Problem Set 1
MATH 778C, Spring 2009, Cooper
Expiration: Wednesday February 18
You are awarded up to 20 points for each problem, 5 points for submitting
solutions in L
A
T
E
X, and 5 points per solution that is used for the answer key.
All answers must be fully rigorous – do not assume anything that you are not
sure everyone else in the class knew prior to Day 1 of this class. However, you
may cite without proof any result proven in detail in class.
1. Prove that if (E,D) is an encryption scheme with message size mand key
size n<m, then there exist two messages x, x0∈ {0,1}msuch that EUn(x)
is not the same distribution as EUn(x0). (In other words, perfect secrecy
is only possible if the key length is at least the message length.)
2. Show that, if P=NP, then one-way functions do not exist.
3. Prove: If {fk}k∈{0,1}∗is a pseudorandom function family, then for every
polynomial `(n), the function Gthat maps k∈ {0,1}nto fk(1), . . . , fk(`(n))
is a secure pseudorandom generator.
4. Show that if fis a one-way permutation then so is
f(k)=f◦f◦ · · · ◦ f
| {z }
k
where k=ncfor some fixed c > 0. Furthermore, show that the assumption
that fis a permutation is necessary.
5. Suppose x∈ {0,1}mis an unknown vector. Let r1, . . . , rm∈ {0,1}mbe
randomly chosen, and (ri, x ri) revealed to us for all i∈[m]. Describe a
deterministic algorithm to reconstruct xfrom this information, and show
that the probability (over the choice of the ri’s) is at least 1/4 that it works.
(This shows that if r1, . . . , rmare fully independent then we cannot guess
xr1, . . . , x rmwith probability much better than 2−m, and hence it
was crucial to move to a merely pairwise independent collection of vectors
in the proof of the Goldreich-Levin Theorem).
6. Let Vndenote the binomial distribution on npoints with probability 1/3,
i.e.,
PVn(w) = 1
3wt(w)2
3n−wt(w)
pf2

Partial preview of the text

Download Problem Set 1 for MATH 778C, Spring 2009: Cryptography and Information Security - Prof. J. and more Assignments Mathematics in PDF only on Docsity!

Problem Set 1

MATH 778C, Spring 2009, Cooper

Expiration: Wednesday February 18

You are awarded up to 20 points for each problem, 5 points for submitting solutions in LATEX, and 5 points per solution that is used for the answer key. All answers must be fully rigorous – do not assume anything that you are not sure everyone else in the class knew prior to Day 1 of this class. However, you may cite without proof any result proven in detail in class.

  1. Prove that if (E, D) is an encryption scheme with message size m and key size n < m, then there exist two messages x, x′^ ∈ { 0 , 1 }m^ such that EUn (x) is not the same distribution as EUn (x′). (In other words, perfect secrecy is only possible if the key length is at least the message length.)
  2. Show that, if P = NP, then one-way functions do not exist.
  3. Prove: If {fk}k∈{ 0 , 1 }∗ is a pseudorandom function family, then for every polynomial (n), the function G that maps k ∈ { 0 , 1 }n^ to fk(1),... , fk((n)) is a secure pseudorandom generator.
  4. Show that if f is a one-way permutation then so is

f (k)^ = f ◦ f ◦ · · · ◦ f ︸ ︷︷ ︸ k where k = nc^ for some fixed c > 0. Furthermore, show that the assumption that f is a permutation is necessary.

  1. Suppose x ∈ { 0 , 1 }m^ is an unknown vector. Let r 1 ,... , rm ∈ { 0 , 1 }m^ be randomly chosen, and (ri, x ri) revealed to us for all i ∈ [m]. Describe a deterministic algorithm to reconstruct x from this information, and show that the probability (over the choice of the ri’s) is at least 1/4 that it works. (This shows that if r 1 ,... , rm are fully independent then we cannot guess x r 1 ,... , x rm with probability much better than 2−m, and hence it was crucial to move to a merely pairwise independent collection of vectors in the proof of the Goldreich-Levin Theorem).
  2. Let Vn denote the binomial distribution on n points with probability 1/3, i.e.,

PVn (w) =

)wt(w) ( 2 3

)n−wt(w)

for each w ∈ { 0 , 1 }n, where wt(w) denotes the number of 1’s in w. Call a polynomial-time computable function G : { 0 , 1 }∗^ → { 0 , 1 }∗^ of stretch (n) a “secure biased pseudorandom generator” if, for every probabilistic polynomial time algorithm A, there exists a negligible function  : N → [0, 1] such that, for all n, ∣ ∣P[A(G(Un)) = 1] − P[A(V(n)) = 1]

∣ (^) < (n).

Show that, if a secure biased pseudorandom generator exists, then a secure pseudorandom generator of stretch α`(n) exists for some fixed α > 0. (Hint: You may want to use Chernoff-type bounds: see Corollary A. in Arora-Barak.) In particular, provide a deterministic polynomial-time algorithm which transforms the output of a secure biased pseudorandom generator into that of a secure pseudorandom generator.