سؤال

I have an ECPoint object "pointW" that I would like to check for whether it actually lies on some EllipticCurve "curve". How can I do this? I would prefer a solution using Java Crypto API but Bouncy Castle would also be fine. Thank you!

هل كانت مفيدة؟

المحلول

There might be a more straightforward way but if you've got the EllipticCurve object, you can always just substitute the coordinates of your point into the equation of the curve.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top