public static bool Verify(byte[] signature, byte[] messageHash, byte[] pubKey) { lock (secp256k1) { return(secp256k1.Verify(signature, messageHash, pubKey)); } }
public static bool Verify(byte[] signature, byte[] messageHash, byte[] pubKey) { try { lock (secp256k1) return(secp256k1.Verify(signature, messageHash, pubKey)); } catch (Exception) { return(false); } }