Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add padding #4

Closed
adamzr opened this issue Jul 13, 2020 · 1 comment
Closed

Add padding #4

adamzr opened this issue Jul 13, 2020 · 1 comment

Comments

@adamzr
Copy link

adamzr commented Jul 13, 2020

Have I Been Pwned added a new privacy feature: padding. See https://haveibeenpwned.com/API/v3#PwnedPasswordsPadding Can we add it here?

@GideonLeGrange
Copy link
Owner

Thanks for reporting this.

Padding is added in release 2.0. It's a major release, since when adding your request from #3, it became unfeasible to use overloaded constructors, and I decided to make a builder to configure the API.

I've pushed 2.0 to Maven Central and it should show up there overnight.

Please test and let me know how it works for you (I tested the changed call with and without padding, and it works).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants