tlsfuzzer / python-ecdsa

pure-python ECDSA signature/verification and ECDH key agreement
Other
906 stars 311 forks source link

Example sharing request #295

Closed reist2002 closed 2 years ago

reist2002 commented 2 years ago

Good day. Your ECDSA implementation is very fast, but unfortunately my Python skills are not enough to find solution in the module dependencies. There is no problem with the pure mathematics of elliptic curves for me. Could you please provide a simple low-level example of using your project? Determination of points by their Jacobi coordinates for the secp256k1 curve and their addition function?

tomato42 commented 2 years ago

You mean how to add two points on secp256k1 when you have their Jacobi coordinates?

reist2002 commented 2 years ago

Yes. And get the third point as a result of adding them.

tomato42 commented 2 years ago

@reist2002 does the documentation in https://github.com/tlsfuzzer/python-ecdsa/pull/290/commits/1c6a838a7b530186d759678334b66f2e1bd71034 (https://github.com/tlsfuzzer/python-ecdsa/pull/290) explain it well enough?

reist2002 commented 2 years ago

Yes, this is exactly what I needed. Thank you.