Closed Overtorment closed 1 year ago
I know https://www.npmjs.com/package/secp256k1 supports these as well (including JS for browsers)
It would be trivial to add these methods... but the whole point of the tiny-secp256k1
library is to have a tiny interface and not pull in every single function from libsecp256k1.
What are those methods for? A new feature in BW?
Or maybe those are already in tiny...
Let me check.
privateKeyTweakMul -> no publicKeyTweakMul -> pointMultiply publicKeyCombine -> pointAdd (but tiny can only combine 2 keys at a time) privateKeyTweakAdd -> privateAdd privateKeyNegate -> privateNegate
So the question would be:
that helped, thanks! implemented here: https://github.com/Overtorment/SilentPayments/pull/5
Specifically, I need equivalents for
privateKeyTweakMul()
publicKeyTweakMul()
publicKeyCombine()
privateKeyTweakAdd()
privateKeyNegate()
currently using
const sec = require("bcrypto").secp256k1;
for these, but want to switch either totiny
or tonoble
ecc (which is afaik has similar set of methods)