nonceGenerate abstract method
Generates a MuSig2 nonce for signing
publicKey is 33 bytes (compressed); optional 32-byte rand (random if null) and 32-byte sk (binds nonce to key); aggPubKey, msg and extra bind the nonce hash. Returns the 97-byte secret nonce with its 66-byte public nonce. Throws on invalid lengths.
Implementation
MuSig2Nonce nonceGenerate({
required List<int> publicKey,
List<int>? rand,
List<int>? sk,
List<int>? aggPubKey,
List<int>? msg,
List<int>? extra,
});