https://github.com/mohammed-majid/password--generator
Password Generation using the random walk algorithm on an undirected dense graph
https://github.com/mohammed-majid/password--generator
graph-algorithms python random-walk
Last synced: 3 months ago
JSON representation
Password Generation using the random walk algorithm on an undirected dense graph
- Host: GitHub
- URL: https://github.com/mohammed-majid/password--generator
- Owner: Mohammed-Majid
- Created: 2023-06-10T08:33:09.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-05-28T20:46:02.000Z (about 2 years ago)
- Last Synced: 2025-06-10T05:43:56.477Z (about 1 year ago)
- Topics: graph-algorithms, python, random-walk
- Language: CSS
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flask Password Generator
This is a simple Flask web application that generates random passwords using a random walk algorithm. the algorithm traverses a graph data structure that is created at runtime.
The application allows users to specify the length of the password (between 8 and 20 characters) and generates a password consisting of letters, digits, and special characters.
## Features
- Random password generation
- Customizable password length (8-20 characters)
- Mix of uppercase, lowercase, digits, and special characters
## Requirements
- Python 3.x
- Flask
## Setup and Installation
1. **Clone the repository:**
```
git clone https://github.com/Mohammed-Majid/Password--Generator.git
cd flask-password-generator
```
2. **Create a virtual environment:**
```
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
```
3. **Install the dependencies:**
```
pip install Flask
```
4. **Run the application:**
```
python app.py
```
5. **Open your browser and go to:**
```
http://127.0.0.1:5000
```
## Usage
1. Open the application in your browser.
2. Enter the desired password length (between 8 and 20 characters).
3. Click "Generate" to create a new password.
4. The generated password will be displayed on the page.
## Project Structure
- `app.py`: The main Flask application file.
- `templates/index.html`: The HTML template for rendering the password generation form and displaying the result.
- `static/css/styles.css`: The CSS file for styling the HTML template.