Question
(Cryptography: An interactive protocol for discrete log) Setup: p is a large prime, g is a primitive element of Z p , and b =
(Cryptography: An interactive protocol for discrete log)
Setup: p is a large prime, g is a primitive element of Zp , and b = ga mod p. Each of p, g, and b is public, but a is private to Pat.
Pat claims: He knows a (i.e., dlogg(b)).
Repeat n-many times: Pat chooses r Zp1,randomly , computes h1 = gr mod p and h2 = gar mod p and sends (h1, h2) to Vanna.
Vanna chooses i { 1, 2 }, randomly. If i = 1, then she ask Pat to send her r1 = r. If i = 2, then she ask Pat to send her r2 = a r.
Vanna, after receiving ri , checks that h1 h2 b (mod p) and hi gri (mod p) If either fails, she rejects.
If Vanna has not rejected after n-many rounds, she accepts.
(a) Prove that the above is complete.
(b) Prove that the above is sound.
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 Zn : a(n) 1 (mod n).
g is a primitive element of Zn iff { g1 , g2 , . . . , g(n) } = Zn .
Suppose g is a primitive element of Zn . For a Zn, 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.
Step 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