Example #1
0
 public static string ComputeFormattedHash(SecureString password, byte[] salt = null)
 {
     byte[] ntHash = NTHash.ComputeHash(password);
     return(ComputeFormattedHash(ntHash, salt));
 }
Example #2
0
 public static byte[] ComputeHash(SecureString password, byte[] salt)
 {
     byte[] ntHash = NTHash.ComputeHash(password);
     return(ComputeHash(ntHash, salt));
 }