tinyec
tinyec copied to clipboard
A tiny ellliptic curve library
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?
Just started testing the library and noticed that even when running exactly the same code with exactly the same data, sometimes the following error appears: `warnings.warn("Point (%d, %d) is not...
Hello, I just came across tinyec and am interested in doing some elliptical curve research. In looking at the code I see that you have some down to the 160-bit...