Exemple #1
0
                public void WhenCalled_SetsIterationsTo25000()
                {
                    var hasher = new FakePbkdf2PasswordHasher();

                    Assert.Equal(25_000, hasher.Iterations);
                }
                public void WhenCalled_SetsIterations()
                {
                    var hasher = new FakePbkdf2PasswordHasher(iterations: 1);

                    Assert.Equal(1, hasher.Iterations);
                }