Expand description
Have I Been Pwned (HIBP) API client for password breach checking.
This module implements k-anonymity based password checking against the HIBP API.
Constantsยง
- HIBP_
DEFAULT_ ๐BASE_ URL - Default base URL for the Have I Been Pwned (HIBP) Pwned Passwords API.
Functionsยง
- check_
password_ ๐exposed - Check password exposure via HIBP API using k-anonymity model.
- hash_
password_ ๐for_ hibp - Hash password with SHA-1 and split into prefix/suffix for k-anonymity.
- parse_
hibp_ ๐response - Parse HIBP API response to find password hash and return breach count.