So, I was trying to use your library to do some additive homomorphic stuff (vector commitments for bulletproofs using secp256k1 more specifically). I then encountered some trouble:
Running the following:
from ecpy.curves import Curve
C = Curve.get_curve("secp256k1")
G = C.generator
((0*G) + (0*G)) == `(0*G)
the last statement is 'False'
mostly because
0*G == G
Similarly G-G gives an object with an invalid state that can't be printed.
So, I was trying to use your library to do some additive homomorphic stuff (vector commitments for bulletproofs using secp256k1 more specifically). I then encountered some trouble:
Running the following:
the last statement is 'False' mostly because
0*G == G
Similarly
G-G
gives an object with an invalid state that can't be printed.