Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 4: Attacking elliptic Diffie-Hellman Grading criteria: code correctness for a and b; mathematical correctness for c. 4a. Let E be the elliptic curve from

image text in transcribed

Problem 4: Attacking elliptic Diffie-Hellman Grading criteria: code correctness for a and b; mathematical correctness for c. 4a. Let E be the elliptic curve from the previous problem. Factor the order of E. In [ ]: 4b. Adapt the CRT code presented in lecture to attack the discrete logarithm problem for E. Use the code given below to test your work. In [ ]: def elliptic_crt(h): # your code goes here In [ ]: ## Use this to test your code m = randint(0, p-1) h = m*g print(m) print(g.discrete_log(h)) print(elliptic_crt(h)) In : c. Describe, either in words or in code, a method for finding an elliptic curve of a similar size for which the CRT method is not effective. (There are a few possible valid answers.) In [ ]: Problem 4: Attacking elliptic Diffie-Hellman Grading criteria: code correctness for a and b; mathematical correctness for c. 4a. Let E be the elliptic curve from the previous problem. Factor the order of E. In [ ]: 4b. Adapt the CRT code presented in lecture to attack the discrete logarithm problem for E. Use the code given below to test your work. In [ ]: def elliptic_crt(h): # your code goes here In [ ]: ## Use this to test your code m = randint(0, p-1) h = m*g print(m) print(g.discrete_log(h)) print(elliptic_crt(h)) In : c. Describe, either in words or in code, a method for finding an elliptic curve of a similar size for which the CRT method is not effective. (There are a few possible valid answers.) In [ ]

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

Advances In Databases And Information Systems Uropean Conference Adbis 2020 Lyon France August 25 27 2020 Proceedings Lncs 12245

Authors: Jerome Darmont ,Boris Novikov ,Robert Wrembel

1st Edition

3030548317, 978-3030548315

More Books

Students also viewed these Databases questions

Question

e. What do you know about your ethnic background?

Answered: 1 week ago

Question

b. Why were these values considered important?

Answered: 1 week ago