tinyec icon indicating copy to clipboard operation
tinyec copied to clipboard

A tiny ellliptic curve library

Results 5 tinyec issues
Sort by recently updated
recently updated
newest added

Hi, I noticed from the README.md that "This is not a library suitable for production.". May I check with you what do you mean by that? I found this library...

Python 2 was sunset in 2020, so it's worthwhile to remove compatibility shims now. Type hinting information is quite helpful for anyone hoping to learn by reading the code.

secp256k1 curve added + scalar division on curve def \_\_truediv\_\_(self, other): return self.\_\_mul\_\_(mod_inv(other, self.curve.field.n)) https://github.com/AlexCurl/bitcoin_tools/tree/main/tinyec

https://github.com/alexmgr/tinyec/blob/master/tinyec/ec.py#L104 0 - p should return -p, right?

I'm looking to uncompress y from x and the least sig. bit in y. Any advice?