edCombine method

  1. @override
BuBytes edCombine(
  1. List<FrostKeyShare> shares, {
  2. bool isScalar = true,
})
override

Combine share records → 32-byte secret (Ed25519 suite).

Implementation

@override
BuBytes edCombine(List<FrostKeyShare> shares, {bool isScalar = true}) {
  final result = api.frostEdCombine(
    _sharesConcat(shares),
    shares.length,
    isScalar: isScalar,
  );
  return result.unwrapOrThrowCryptoError();
}