Skip to content

rotnik/password-safety

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Password Security Analysis & Hash Demo

Project Description

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.

Features

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.

Installation

Clone the repository

git clone https://github.com/rotnik/password-safety.git

Navigate to the project directory

cd password-safety

Install required packages

pip install matplotlib

Usage

Prepare a password list file passwords.txt (one password per line) in the project directory.

Run the script

python password_security.py

Outputs

  • Console summary of password strengths.

  • password_analysis.csv containing Password, Strength, and SHA-256 Hash.

  • Bar chart showing distribution of Weak, Medium, and Strong passwords.

View Results

Excel file /results/password_analysis_results.xlsx

Skills Demonstrated

  • Python scripting and file handling

  • Basic cybersecurity concepts: password strength, hashing

  • Data analysis and visualization

  • XSLX export and report generation

Notes

  • 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

About

Analyze and visualize password strength with Python.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages