예제 #1
0
 public static bool SecretKeyVerify(byte[] secretKey)
 {
     lock (secp256k1)
     {
         return(secp256k1.SecretKeyVerify(secretKey));
     }
 }
예제 #2
0
 public static bool SecretKeyVerify(byte[] secretKey)
 {
     try
     {
         lock (secp256k1)
             return(secp256k1.SecretKeyVerify(secretKey));
     }
     catch (Exception)
     {
         return(false);
     }
 }