Question: Write a function ecdsaverify ( q , A , B , G , p , Q , m , signature ) that takes as input
Write a function ecdsaverifyqABGpQmsignature that takes as input
prime and creates the elliptic curve modulo
:
a pair of integers that are the coordinates of the base point on that has prime order return 'Invalid input' if this is not the case
a pair of integers that are the coordinates of the public key point on it needs to be a multiple of but you are not asked to check this as it would involve solving
ECDLP
the message as a SAGE integer
the signature as a pair of SAGE integers
and returns True or False depending on the signature being valid or not.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
