An open API service indexing awesome lists of open source software.

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.

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.