MuSig2Utils class

Constructors

MuSig2Utils.new()

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

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

aggPublicKeys({required List<List<int>> keys}) MuSig2KeyAggContext
decodeSession(MuSig2Session session) MuSig2SessionValues
deterministicNonceHash({required List<int> sk, required List<int> aggotherNonce, required List<int> aggPk, required int i, required List<int> msg}) BigInt
encodeOrInfinityPoint(List<int> keyBytes) ProjectiveECCPoint
encodePoint(List<int> bytes) ProjectiveECCPoint
encodePointAsEven(List<int> keyBytes) ProjectiveECCPoint
getSessionKeyAggCoeff({required MuSig2Session session, required ProjectiveECCPoint pk}) BigInt
isValidPartialSignature(List<int> signature) bool
keyAggAndTweak({required List<List<int>> publicKeys, required List<MuSig2Tweak> tweaks}) MuSig2KeyAggContext
nonceHash({required List<int> rand, required List<int> publicKey, required List<int> aggPk, required int i, required List<int> messagePrefix, required List<int> extraIn}) BigInt
scToPk(List<int> sk) List<int>
sortPublicKeys(List<List<int>> keys) List<List<int>>