verifyPoseidon method
Implementation
bool verifyPoseidon(
String publicKey, String compressedSignature, String msg) {
final pubKeyPtr = publicKey.toNativeUtf8();
final sigPtr = compressedSignature.toNativeUtf8();
final msgPtr = msg.toNativeUtf8();
final resultPtr = _verifyPoseidon(pubKeyPtr, sigPtr, msgPtr);
final String resultString = resultPtr.toDartString();
final bool result = resultString.compareTo("1") == 0;
return result;
}