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(Cryptography: An interactive protocol for discrete log) Setup: p is a large b (mod p) and hiprime, g is a primitive element of Zp , and b = 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)ga mod p. Each of p, g, and b is public, but 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: gxa is private to Pat. Pat claims: He knows a (i.e., dlogg(b)). a (mod n), i.e., g dlogg(a) Repeat n-many times: Pat chooses r Zp1,randomly , computes h1 = gr a (mod n).

Definition. Suppose a, n Z with n > 1 and a mod p and h2 = gar mod p and sends (h1, h2) 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. to Vanna. Vanna chooses i { 1, 2 }, randomly. If in = { a : (= 1, then she ask Pat to send her r1 = r. ) = 1 = ( If i = 2, then she ask Pat to send her r2 ) } = the pseudo-residues mod n.

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!