Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started