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