public void Verify_VerifiesHash() { String value = "Test"; String hash = BCrypt.Net.BCrypt.HashString(value, 4); Assert.IsTrue(crypter.Verify(value, hash)); }
public void Verify_NullValue_ReturnsFalse() { Assert.False(crypter.Verify(null, "")); }
public void Verify_OnNullValueFails() { Assert.False(crypter.Verify(null, "")); }