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