Question: Write a program in Python to implement Elliptic Curve Cryptography ( ECC ) . inputs are a , b , p , message, nB ,

Write a program in Python to implement Elliptic Curve Cryptography (ECC).
inputs are a, b, p, message, nB, nA,( two private keys) and a generator point G. Outputs are encrypted and decrypted messages
Test case=1
input=1
4
23
7,3
6
15
0,2
output=(18,14)(13,11)
7,3
Test case=2
input=-1
188
751
443,253
85
113
0,376
output=(34,633)(217,606)
443,253

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!