How ammaarah14/password_checker works
Vault is a small password strength and breach-checking tool with two entry points: an interactive/batch CLI and a local Flask web app. Each accepts a password, uses shared logic for heuristic strength scoring, entropy, labeling, crack-time estimation, and a k-anonymity breach lookup, then presents a report or JSON response. The README documents the browser UI and privacy model; templates/index.html is present but its source was not sampled, so its wiring is shown only as documented. Edges reflect sampled calls or README statements.
Main entry points: app.py Web API · cli.py CLI workflow · index.html Web interface · checker.py Private breach lookup
Components 10
User interfaces
- CLI workflow
cli.py - Web API
app.py - Web interface
templates/index.html
Password analysis
- Strength scoring
checker.py - Strength label
checker.py - Crack-time estimate
checker.py
Breach lookup
- Pwned Passwords API
- Private breach lookup
checker.py
Other components
- CLI user
- Browser user
Connections 13
- CLI user → CLI workflow: provides password
README.md - CLI workflow → Strength scoring: scores password
cli.py - CLI workflow → Strength label: labels score
cli.py - CLI workflow → Crack-time estimate: estimates time
cli.py - CLI workflow → Private breach lookup: checks breach
cli.py - Browser user → Web interface: enters password
README.md - Web interface → Web API: submits check
README.md - Web API → Web interface: renders page
app.py - Web API → Strength scoring: scores password
app.py - Web API → Strength label: labels score
app.py - Web API → Crack-time estimate: estimates time
app.py - Web API → Private breach lookup: checks breach
app.py - Private breach lookup → Pwned Passwords API: sends hash prefix
checker.py