verify method
bool
verify({
- required Dkls23Curve curve,
- required List<
int> groupPk, - required List<
int> msgHash, - required List<
int> signature,
override
Verify a compact signature against a 33-byte group key. Returns false if the equation fails; throws on malformed lengths/keys.
Implementation
@override
bool verify({
required Dkls23Curve curve,
required List<int> groupPk,
required List<int> msgHash,
required List<int> signature,
}) {
return api
.verify(
curve: _curve(curve),
groupPk33: groupPk.asBytes,
msgHash32: msgHash.asBytes,
sig64: signature.asBytes,
)
.unwrapOrThrowCryptoError();
}