groth16ProveWithZKeyFilePath method

Future<({String proof, String publicSignals})> groth16ProveWithZKeyFilePath({
  1. required String zkeyPath,
  2. required Uint8List witness,
  3. int proofBufferSize = _defaultProofBufferSize,
  4. int? publicBufferSize,
  5. int errorBufferSize = _defaultErrorBufferSize,
})

Implementation

Future<({String proof, String publicSignals})> groth16ProveWithZKeyFilePath({
  required String zkeyPath,
  required Uint8List witness,
  int proofBufferSize = _defaultProofBufferSize,
  int? publicBufferSize,
  int errorBufferSize = _defaultErrorBufferSize,
}) {
  return FlutterRapidsnarkPlatform.instance.groth16ProveWithZKeyFilePath(
    zkeyPath: zkeyPath,
    witness: witness,
    proofBufferSize: proofBufferSize,
    publicBufferSize: publicBufferSize,
    errorBufferSize: errorBufferSize,
  );
}