BCrypt.Net.Test.TestBCrypt.TestVerifyPasswordFailure C# (CSharp) 메소드

TestVerifyPasswordFailure() 개인적인 메소드

private TestVerifyPasswordFailure ( ) : void
리턴 void
        public void TestVerifyPasswordFailure()
        {
            Trace.Write("BCrypt.Verify w/ bad passwords: ");
            for (int i = 0; i < _TestVectors.Length / 3; i++)
            {
                int brokenIndex = (i + 4) % (_TestVectors.Length / 3);
                string plain = _TestVectors[i, 0];
                string expected = _TestVectors[brokenIndex, 2];
                Assert.False(BCrypt.Verify(plain, expected));
                Trace.Write(".");
            }
            Trace.WriteLine("");
        }