Presently iam working on a project that uses elliptic curve. Please provide me a solution that determines whether a point is on the elliptic curve or not? and also how to get a point on the elliptic curve
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Checking whether a point is on the elliptic curve is easy. Just check whether your point
(x,y)fulfills the equation defining your elliptic curve :y^2 = x^3 + ax + b(remember to perform the calculation in the correct field).Using Bouncycastle you can do it like this:
You have tagged the question with cryptography, so I assume you are asking about elliptic curves over a finite field. The curve will have a generator, g and an order.
To get a random point, just generate a random integer, x, between 0 and (order – 1), and choose x * g.
You can do it using Bouncycastle like this: