FC08 Assignment 2
From Theory
Back to CS 8803FC - Foundations of Cryptography. Spring 2008.
Contents |
Problem 1: One-way functions.
Let
be the function defined by
.
(1) Prove that assuming the factoring assumption is true, fmult is a weak one-way function. (Hint: Use Chevyshev's Theorem on density of primes).
(2) Use the weak one-way function fmult to construct a strong one-way function. Prove that your construction satisfies the definition of strong one-wayness without referencing the general hardness amplification theorem.
Problem 2: Averaging argument.
Let A be a (possibly probabilistic) algorithm, and let
be a function.
Suppose that there exists
such that for every
,
, where the probability is over
and over the random coin tosses of A.
For any
and for any
, let
, where the probability is over the random coin tosses of A.
Prove that
, where the probability is over
.
Problem 3: Number Theory.
(1) The Diffie-Hellman problem is as follows:
Given input (p,q,g,gx,gy) where p is a safe prime, i.e. p is a prime of the form
2q + 1 where q is prime, g is a generator of a subgroup of order q in Zp, and
compute the element gxymod p.
The Square problem is as follows:
Given input (p,q,g,gx) where p is a safe prime , i.e. p is a prime of the form
2q + 1 where q is prime, g is a generator of a subgroup of order q in Zp, and
, compute the element
.
Show that the Diffie-Hellman and the Square problem are polynomial-time equivalent. In other words, show that an algorithm that solves the Square problem can be used to solve the Diffie-Hellman problem (with at most a polynomial amount of extra work) and vice-versa.
(2) Suppose p > 2 is a prime and g and h are both generators of
.
Prove or disprove the following statements:
A:
B:
C:
D:
(Recall that
is a probability distribution. To show that two distributions are identical prove that each of member of one distribution occurs with same probability in both the distribution. To show they are not identical, give a counter example, by finding a member in one distribution, which occurs with different probability in the two distributions.)
Problem 4: Computational and statistical indistinguishability.
Two distribution ensembles {Xn},{Yn} are statistically close if their statistical difference is negligible, where their statistical difference is defined as
.
(1) Prove that {Xn},{Yn} are statistically close if and only if for every set
,
is negligible in n.
(Hint: Prove that the statistical difference between Xn,Yn equals maxS{δS(n)}).
(2) Prove that if two ensebmles are statistically close then they are computationally indistinguishable.
(3) Let {Xn},{Xn'},{Yn},{Yn'} be four distribution ensembles such that
and
, where
denotes computational indistinguishability.
Prove that
.
(Hint: use the triangle inequality, along with the fact that the adversary/distinguisher is a non-uniform machine, and thus can "hardwire" advice.)
