PwnedPasswords as java library

Pwned Passwords is service provided by Have I been pwned?
It’s a collection that contains millions of real world passwords exposed in data breaches.
This exposure makes them unsuitable for ongoing use as they’re at much greater risk of being used to take over other accounts.

I was going through different implementations of the api and I noticed the java libraries don’t implement this service.
The easiest solution was to make my own library.
Installation instructions and examples of how to use can be found at