MuSig2 class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
aggPublicKeys({required List<List<int>> keys})
→ MuSig2KeyAggContext
-
Aggregates public keys for MuSig2
-
deterministicSign({required List<int> sk, required List<int> aggotherNonce, required List<List<int>> publicKeys, List<MuSig2Tweak> tweaks = const [], required List<int> msg, List<int>? rand})
→ MuSig2DeterministicSignature
-
Generates a deterministic MuSig2 signature
-
nonceAgg(List<List<int>> pubnonces)
→ List<int>
-
Aggregates public nonces for MuSig2
-
nonceGenerate({required List<int> publicKey, List<int>? rand, List<int>? sk, List<int>? aggPubKey, List<int>? msg, })
→ MuSig2Nonce
-
Generates a MuSig2 nonce for signing
-
partialSigAgg({required List<List<int>> signatures, required MuSig2Session session})
→ List<int>
-
Aggregates MuSig2 partial signatures
-
partialSigVerify({required List<int> signature, required List<int> pubnonce, required List<int> pk, required MuSig2Session session})
→ bool
-
Verifies a MuSig2 partial signature
-
sign({required List<int> secnonce, required List<int> sk, required MuSig2Session session})
→ List<int>
-
Generates a MuSig2 partial signature
-
sortPublicKeys({required List<List<int>> keys})
→ List<List<int>>
-
sort public keys