MuSig2Utils class

Constructors

MuSig2Utils()

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}) → List<int>
encodePoint(List<int> bytes) → ProjectiveECCPoint
encodePointAsEven(List<int> keys, {bool allowInfinity = false}) → ProjectiveECCPoint
generatePublicKey(List<int> sk) → List<int>
getSessionKeyAggCoeff({required MuSig2Session session, required ProjectiveECCPoint pk}) → BigInt
getSessionKeyAggCoeffConst({required MuSig2Session session, required List<int> pkBytes}) → Secp256k1Scalar
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}) → List<int>
sortPublicKeys(List<List<int>> keys) → List<List<int>>
toScalarBigInt(List<int> scalarBytes) → BigInt
zeroPk() → List<int>