Internship Project for Codec Technologies
Learn, implement, and test password security algorithms in Python! β‘
Covers MD5, SHA-256, SHA-512, bcrypt, salting, and password cracking (dictionary & brute force).
Tech Stack: Python, Hashlib, Bcrypt, Pytest
Developed as part of my internship with Codec Technologies, this project provides hands-on implementations of password hashing & cracking techniques.
It demonstrates secure hashing (with & without salting) and showcases how password cracking is attempted using brute force and dictionary attacks.
- π Hashing Algorithms β MD5, SHA-256, SHA-512, bcrypt
- π§ Salting β Protect against rainbow table attacks
- πͺ Password Cracking β Brute-force & dictionary-based methods
- π Examples Included β Easy-to-run demo scripts
- π§ͺ Unit Tests β Verify correctness of hashing & cracking functions
- π Well-Structured Project β Clean and modular codebase
- Python 3.8+
- Virtual environment (recommended)
# Clone and setup
git clone https://github.com/CodeWithTanim/Password-Cracking-and-Hashing-Algorithms.git
cd Password-Cracking-and-Hashing-Algorithms
# Install dependencies
pip install -r requirements.txt
# Run example scripts
python -m examples.demo_hashing
python -m examples.demo_salting
python -m examples.demo_crackerPassword-Cracking-and-Hashing-Algorithms/
β
βββ docs/ β Documentation
β βββ project_overview.md
β βββ algorithm_explanations.md
β βββ screenshots/
β βββ hash_demo.png
β βββ crack_demo.png
β βββ salted_hash.png
β
βββ src/ β Core Implementation
β βββ hash_functions.py β MD5, SHA256, SHA512, bcrypt
β βββ salting.py β Salting & secure hashing
β βββ password_cracker.py β Brute force & dictionary attack
β βββ utils.py β Helper functions
β
βββ examples/ β Demo Scripts
β βββ demo_hashing.py
β βββ demo_salting.py
β βββ demo_cracker.py
β
βββ tests/ β Unit tests
βββ requirements.txt β Dependencies
βββ README.md
- Understood password hashing algorithms (MD5, SHA, bcrypt)
- Learned how salting enhances password security
- Implemented brute force and dictionary cracking in Python
- Gained insights into ethical hacking & password protection
- Improved debugging and testing skills with Pytest
MD SAMIUR RAHMAN TANIM Intern at Codec Technologies π GitHub | LinkedIn
- Thanks to Codec Technologies for the internship opportunity
- Pythonβs
hashlibandbcryptlibrary maintainers - Open-source security & ethical hacking community
Pull requests are welcome! If you find bugs, improvements, or want to add more algorithms (like PBKDF2, Argon2, Scrypt), feel free to fork and submit a PR.
```
