k1GroupFromMembers method
Group key from member points: ids + pubsConcat (n x 33 B).
threshold: 0 = additive sum, else Lagrange interpolation at zero.
Pure public-key math inside the backend.
Implementation
@override
BuBytes k1GroupFromMembers({
required List<int> ids,
required List<int> pubsConcat,
required int threshold,
}) {
final result = api.frostK1GroupFromMembers(
idsConcat: _idsConcat(ids),
pubsConcat: pubsConcat.asBytes,
n: ids.length,
threshold: threshold,
);
return result.unwrapOrThrowCryptoError();
}