Question: Setup: n = p q where p and q are distinct odd primes. Pat claims: x ? n . Repeat m-many times: Vanna chooses v

Setup: n = p q where p and q are distinct odd primes. Pat claims: x ? Setup: n = p q where p and q are distinct oddn . Repeat m-many times: Vanna chooses v ? Z?n, randomly, & i ? { 0, 1 }, randomly, computes z = xiv2 mod n, and sends Pat z. Pat, upon receiving z, sends j to Vanna where: if z ? QRn , then j = 0 else j = 1. Vanna tests whether i = j and, if not, she rejects. If Vanna has not rejected after m-many rounds, she accepts

(a) Prove that the above is complete.

(b) Prove that the above is sound.

(c) The above is NOT prefect zero knowledge. Explain why.

Reference

|A| = the number of elements in set A.

?(n) = |{ a ? Z+n : gcd(a, n) = 1 }|.

Eulers Theorem: For each n > 1 and a ? Z?n : a?(n) primes. Pat claims: x ? n . Repeat m-many times: Vanna chooses 1 (mod n).

g is a primitive element of Z?n iff { g1 , g2 , . . . , g?(n) } = Z?n .

Suppose g is a primitive element of Z?n . For a ? Z?n, the discrete log of a to the base g mod p (written: dlogg (a)) is the solution for x of: gx v ? Z?n, randomly, & i ? { 0, 1 }, randomly, a (mod n), i.e., g dlogg(a) computes z = xiv2 mod n, and sends Pat z. Pat, upon a (mod n).

Definition. Suppose a, n ? Z with n > 1 and a receiving z, sends j to Vanna where: if z ? QRn , 0. (a) a is a quadratic residue mod n when x2 ? a (mod n) has a solution, otherwise a is a nonresidue. (b) QRn = the quadratic residues mod n. (c) Suppose n is the product of two distinct odd primes p and q. then j = 0 else j = 1. Vanna tests whether in = { a : (= j and, if not, she rejects. If Vanna has not rejected ) = ?1 = ( after m-many rounds, she accepts (a) Prove that the above is complete. ) } = the pseudo-residues mod n. ( Solve it without doing integration iif possible)

QR

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!