https://github.com/vickshan001/genetic-algorithm-password-cracker
Genetic algorithm that evolves alphanumeric passwords using fitness-based selection, crossover, and mutation.
https://github.com/vickshan001/genetic-algorithm-password-cracker
artificial-intelligence crossover genetic-algorithm mutation password-cracking python
Last synced: about 1 month ago
JSON representation
Genetic algorithm that evolves alphanumeric passwords using fitness-based selection, crossover, and mutation.
- Host: GitHub
- URL: https://github.com/vickshan001/genetic-algorithm-password-cracker
- Owner: vickshan001
- Created: 2025-03-29T23:53:56.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2025-03-29T23:55:03.000Z (about 2 months ago)
- Last Synced: 2025-03-30T00:25:16.144Z (about 2 months ago)
- Topics: artificial-intelligence, crossover, genetic-algorithm, mutation, password-cracking, python
- Language: Jupyter Notebook
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🔐 Genetic Algorithm Password Cracker
This project demonstrating the use of genetic algorithms to guess passwords through evolution.
## 🧬 Features
- State representation: random alphanumeric string
- Fitness: character-by-character match
- Selection: fitness-proportionate
- Crossover: character-by-character parent mixing
- Mutation: adjustable mutation rate for diversity
- Plots for convergence and hyperparameter analysis## 📂 Files
- `password_fitness.ipynb` – Notebook implementing the full GA and testing different settings
## 📊 Sample Result
| Mutation Rate | Population | Avg. Generations |
|---------------|------------|------------------|
| 0.01 | 100 | 285–430 |
| 0.05 | 200 | 11–68 |## 🏫 Module Info
- Year: 2024
- University: Queen Mary University of London
- Author: Vickshan Vicknakumaran## 🚀 How to Run
Open `password_fitness.ipynb` in Jupyter and run all cells.
## 📜 License
For academic and research use only.