Python project / Interactive demo

Password Strength Analyzer

Try the web version of my Python analyzer. It checks password complexity, looks for personal information, and uses known breach data to adjust the final rating.

View Python source ↗

Analyze a password

Use a sample password for this demo. Inputs are processed in your browser and are not saved by this page. The breach check sends only a five-character hash prefix to Pwned Passwords.

Password analysis

Enter a sample password to see your results.

How it works

Each check earns one point: eight or more characters, an uppercase letter, a lowercase letter, a digit, and one of !@#$%^&*. Matching personal information triggers a warning without changing the score.

The analyzer hashes the password locally with SHA-1, requests matching hash suffixes from Pwned Passwords using only the first five hash characters, and compares the suffix locally. A match deducts two points; more than 100,000 reported occurrences resets the score to zero, matching the Python implementation.

The score is a rule-based demonstration, not a prediction of the likelihood of being hacked. Breach counts describe reported password occurrences, not a count of distinct breach events. Blank optional personal fields are ignored.