Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(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 h2image text in transcribed b (mod p) and hiimage text in transcribed 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)image text in transcribed 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: gximage text in transcribed a (mod n), i.e., g dlogg(a) image text in transcribed a (mod n).

Definition. Suppose a, n Z with n > 1 and a image text in transcribed 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. image text in transcribedn = { a : (image text in transcribed ) = 1 = ( image text in transcribed ) } = the pseudo-residues mod n.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions