createProof static method
Creates a zero-knowledge proof using BBS+.
Implementation
static Future<Uint8List> createProof({
required Uint8List publicKey,
required Uint8List nonce,
required Uint8List signature,
required List<Map<String, dynamic>> messages,
}) async {
final result = await _channel.invokeMethod('createProof', {
'publicKey': publicKey,
'nonce': nonce,
'signature': signature,
'messages': messages,
});
return Uint8List.fromList(List<int>.from(result));
}