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