signSecp256k1WithRNG function

Future<Uint8List> signSecp256k1WithRNG(
  1. Uint8List blob,
  2. Uint8List bytes
)

Implementation

Future<Uint8List> signSecp256k1WithRNG(Uint8List blob, Uint8List bytes) async {
  final result = await secp256K1SignWithRng(
    req: Secp256k1SignWithRngReq(privateBytes: bytes, msg: blob),
  );

  return result.signature!;
}