Closed chm-diederichs closed 1 year ago
This PR has 2 goals:
1) a crypto_tweak_keypair method for efficiently computing both the publicKey and scalar when tweaking a scalar_in.
crypto_tweak_keypair
publicKey
scalar
scalar_in
2) clarifies the following distinction:
secretKey
crypto_sign_keypair
The output of a tweak operation is specifically a scalar and not a secretKey
This PR has 2 goals:
1) a
crypto_tweak_keypair
method for efficiently computing both thepublicKey
andscalar
when tweaking ascalar_in
.2) clarifies the following distinction:
secretKey
is 64 byte secret key output bycrypto_sign_keypair
callsscalar
is the 32 byte scalar derived from the seed within asecretKey
The output of a tweak operation is specifically a
scalar
and not asecretKey