Pwned Passwords (k-anonymity)
password_pwnedCheck whether a password appears in known breaches by hashing it locally and sending only a SHA-1 prefix to HIBP, so the secret is never stored or logged.
Instructions
Check if a password appears in known breaches using HIBP Pwned Passwords k-anonymity: the password is SHA-1 hashed locally and only the first 5 hex characters are sent. Accepts the password or its SHA-1. The password is never stored, logged or echoed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha1 | No | ||
| password | No |