iceland2k14/secp256k1

Privkey_to_xpoint

ken2709 opened this issue · 1 comments

Hi
I would like to use Privkey_to_xpoint it available or not?
Thanks

Not available but fairly easy to add in the secp256k1.py file like this.

def pvk_to_xpoint(pvk_int): return scalar_multiplication(pvk_int)[1:33]
Then use it in your code anytime.