Total of 120 points

(Most of this exercise is a review exercise on some of the notions we have encountered before.)

  1. (25 points) Suppose that there exists an efficient algorithm \(A\) that on input \(m\) and \(a \in {\mathbb{Z}}^*_m\) outputs the smallest number \(r\) such that \(a^r = 1 (\mod m)\). Prove that under this assumption there is an efficient (probabilistic) algorithm \(B\) that on input \(m=pq\) with \(q (\mod 4) = p (\mod 4)=3\), outputs \(p\) and \(q\). You can follow the outline of the lecture notes, or see the footnote for hint on another approach1
  1. (50 points) Consider the following proof system for Alice to prove to Bob that a graph is 3 colorable:

Prove that this system is a zero knowledge proof system for the 3 coloring problem by showing the following:

  1. (Completeness, 10 points): Prove that if Alice and Bob are given inputs as above and both follow the protocol then Bob will accept the proof with probability \(1\).

  2. (Soundness, 15 points): Prove that if there exists no 3-coloring for \(G\) (i.e., for every coloring of \(G\)’s vertices in \(\{1,2,3\}\) there is some edge \(\{i,j\}\) such that both \(i\) and \(j\) receive the same color), then with probability at least \(1/(10n^2)\) Bob will reject the proof. (This probability can be amplified to more than \(1-2^{-k}\) by \(100kn^2\) repetitions).

  3. (Zero knowledge, 25 points) Prove that for every polynomial-time strategy \(B^*\) used by Bob, there exists an efficient algorithm \(S^*\), so that for every 3-colorable graph \(G\) and coloring \(f\), the output of \(S^*(G)\) is computationally indistinguishabl from the transcript \(B^*\) observes after interacting with the honest strategy of Alice on public input \(G\) and private input \(x\). (For partial credit of 15 points, prove only honest verifier zero knowledge : that the above holds when \(B^*\) is the honest strategy of Bob.)

  1. KL 11.17 (20 points)

  2. KL 12.14 (10 points)

  3. KL 13.17 (15 points)


  1. For starters, you can assume for partial credit the following claim: with probability at least \(1/100\), if we pick a random \(a\in {\mathbb{Z}}^*_m\) then \(a\) will have an even order and \(a^{r/2} \neq -1 (\mod m)\). Using the claim you can reduce factoring to order finding in a similar way to how we reduced factoring to finding square roots. For full credit, prove the claim by first proving using the chinese remainder theorem that for every \(a\), the order of \(a\) modulo \(m\) is the least common multiple of the order of \(a\) modulo \(P\) and the order of \(a\) modulo \(q\), and then use the fact that for every group \(G\), if \(G' \neq G\) is a subgroup of \(G\) then \(|G|/|G'| \geq 2\).