Example #1
0
 public static bool Verify(string message, byte[] signature, byte[] key)
 {
     return(OneTimeAuth.Verify(Encoding.UTF8.GetBytes(message), signature, key));
 }
Example #2
0
 public static byte[] Sign(string message, byte[] key)
 {
     return(OneTimeAuth.Sign(Encoding.UTF8.GetBytes(message), key));
 }