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 ? n . 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) 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 a (mod n), i.e., g dlogg(a) a (mod n).
Definition. Suppose a, n ? Z with n > 1 and a 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. n = { a : ( ) = ?1 = ( ) } = the pseudo-residues mod n. ( Solve it without doing integration iif possible)
QRStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started