A beginner-friendly cybersecurity project that evaluates password strength, hashes passwords with SHA-256, and visualizes the distribution of weak, medium, and strong passwords. Includes XLSX export for analysis. Demonstrates Python scripting, basic security concepts, and data visualization.
Analyze password strength based on length, character types, and patterns.
Generate SHA-256 hashes of passwords to demonstrate secure storage.
Visualize the distribution of weak, medium, and strong passwords with a bar chart.
Export results to XLSX for documentation or further analysis.
Supports importing password lists from external files for scalability.
git clone https://github.com/rotnik/password-safety.git
cd password-safety
pip install matplotlib
Prepare a password list file passwords.txt (one password per line) in the project directory.
python password_security.py
-
Console summary of password strengths.
-
password_analysis.csvcontaining Password, Strength, and SHA-256 Hash. -
Bar chart showing distribution of Weak, Medium, and Strong passwords.
Excel file /results/password_analysis_results.xlsx
-
Python scripting and file handling
-
Basic cybersecurity concepts: password strength, hashing
-
Data analysis and visualization
-
XSLX export and report generation
-
Safe dataset only: Do not include real user passwords.
-
Designed for learning and portfolio demonstration purposes.
-
Edit /data/passwords.txt to test with your own password lists.
-
For larger datasets, you may download the RockYou list (not included in repo due to its origin in a breach). Add it locally if you want extended analysis.
-
Can be extended to check against known leak databases or integrate with interactive visualization tools