Data breaches are so common that many people have had a password exposed without knowing it. Checking is worthwhile, but how you check matters, because typing your password into the wrong website could expose it.
Two different questions
People often mix up two separate checks:
- Has my account been in a breach? This looks up your email address in breach records. Have I Been Pwned’s main site answers this.
- Has this password been exposed? This looks up the password itself in collections of leaked passwords, regardless of whose account it came from. LavenderCipher’s Password Breach Checker answers this one.
Both are useful. A password that appears in breach lists is dangerous even if your account wasn’t the one breached, because attackers try every leaked password against every account.
How to check a password without revealing it
Sending a password to a website to “check” it would defeat the purpose. The method LavenderCipher uses, developed for Have I Been Pwned’s Pwned Passwords service, is called k-anonymity:
- Your browser computes the SHA-1 hash of the password, a 40-character fingerprint such as
5BAA61E4C9B93F3F0682250B6CF8331B7EE68FD8. - Only the first five characters (
5BAA6) are sent to the service. - The service returns every breached-password hash starting with those five characters, typically several hundred, along with how often each was seen. We also request padding, extra dummy entries that hide the true size of the response.
- Your browser checks the list for the rest of your hash. The match happens on your device.
The service never receives your password or its full hash, and it can’t tell which of the hundreds of returned hashes, if any, you were interested in.
Is SHA-1 safe for this?
SHA-1 is no longer suitable for digital signatures, and fast hashes like it should never be used to store passwords. Here, though, it’s used only as a lookup key, matching how the breach data is indexed, and only five characters of it are shared. The protection comes from k-anonymity, not from the strength of SHA-1.
Reading the result
Found. The password appears in breach data, and the count shows how many times. Even a count of 1 means it’s on lists that attackers use. Treat it as public. NIST’s guidelines direct services to reject passwords that appear in breach corpuses for exactly this reason.
Not found. Good, but not proof of safety. Many breaches are never disclosed or never reach public collections, and a weak password can be guessed without ever having leaked. Check its strength with the strength checker as well.
What to do if your password was exposed
- Change it everywhere you used it, starting with email, financial and work accounts. Generate a new, unique password for each with a random generator.
- Don’t just tweak it.
Summer2023!→Summer2024!is one of the first things attackers try. - Turn on multifactor authentication for affected accounts. Here’s how MFA helps.
- Review recent activity: sign-in history, forwarding rules in email, connected apps, saved payment methods and recovery phone numbers or emails.
- Sign out other sessions if the service offers it.
- Start using a password manager so every account gets its own password from now on.
- Watch for phishing. Breach news is often followed by scam emails pretending to be the affected company.
Other signs of compromise
Even without a breach check, watch for:
- password-reset or login-alert emails you didn’t trigger,
- new email forwarding rules or filters you didn’t create,
- sent messages, posts or purchases you didn’t make,
- recovery details changed without your knowledge.
How often should you check?
Checking your important passwords occasionally, and whenever you hear about a breach at a service you use, is sensible. Many password managers can also flag exposed, weak or reused passwords for you automatically.
Test responsibly
LavenderCipher’s breach checker runs only when you click the button, sends only five hash characters, and never stores anything. Even so, some people prefer to check a password they’re about to start using rather than ones they use today. Whatever you choose, never type a real password into a checker you don’t trust or one that doesn’t explain exactly what it sends.