run static method

Future<Uint8List> run({
  1. required ThresholdParams params,
  2. required Uint8List message,
  3. Uint8List? ceremonyId,
  4. List<String>? participantIds,
  5. String? mithrilBridgePath,
})

Full C1 → C3 simulation for ML-DSA-44.

Implementation

static Future<Uint8List> run({
  required ThresholdParams params,
  required Uint8List message,
  Uint8List? ceremonyId,
  List<String>? participantIds,
  String? mithrilBridgePath,
}) async {
  final root = await MlDsaRootCeremony.simulate(
    params,
    ceremonyId: ceremonyId,
    participantIds: participantIds,
    mithrilBridgePath: mithrilBridgePath,
  );
  return MlDsaThresholdSigningCeremony.simulate(
    shares: root.shares,
    message: message,
    mithrilBridgePath: mithrilBridgePath,
  );
}