I would like to take a private key (m) and add a tweak to it, a hash of something (S):
p = m + hash(S)
I can do point addition with elliptic okay, but I am having difficulty figuring out how to do scalar addition. I see the official secp256k1 C library has this function:
I would like to take a private key (m) and add a tweak to it, a hash of something (S):
p = m + hash(S)
I can do point addition with elliptic okay, but I am having difficulty figuring out how to do scalar addition. I see the official secp256k1 C library has this function:
And the tiny-secp256k1 typescript module has this:
How best to do same with elliptic?