public void TestHashPassword()
{
Trace.Write("BCrypt.HashPassword(): ");
var sw = Stopwatch.StartNew();
for (int i = 0; i < _TestVectors.Length / 3; i++)
{
string plain = _TestVectors[i, 0];
string salt = _TestVectors[i, 1];
string expected = _TestVectors[i, 2];
string hashed = BCrypt.HashPassword(plain, salt);
Assert.Equal(hashed, expected);
Trace.Write(".");
}
Trace.WriteLine(sw.ElapsedMilliseconds);
Trace.WriteLine("");
}