blsVerifySync method
Implementation
@override
bool blsVerifySync(
Uint8List pk,
Uint8List sig,
Uint8List msg,
) {
Pointer<Utf8> result = rustBlsVerify(
sig.toHex(include0x: false).toNativeUtf8(),
msg.toHex(include0x: false).toNativeUtf8(),
pk.toHex(include0x: false).toNativeUtf8());
final ret = result.cast<Utf8>().toDartString() == "true";
freeCString(result);
return ret;
}