signSchnorrAsync function

Future<Uint8List> signSchnorrAsync(
  1. Uint8List blob,
  2. Uint8List seed, {
  3. Uint8List? auxRand,
})

Implementation

Future<Uint8List> signSchnorrAsync(
  Uint8List blob,
  Uint8List seed, {
  Uint8List? auxRand,
}) async {
  final result = await schnorrSign(
    req: SchnorrSignWithSeedReq(seed: seed, msg: blob, auxRand: auxRand),
  );
  return result.signature!;
}