https://github.com/rijoslal/django-e_crypt
e_crypt is a Django web app that generates secure, random passwords using SHA-256 encryption. Users can customize password length and character types (uppercase, lowercase, numbers, symbols) after logging in or signing up. It uses PostgreSQL for data storage and offers a simple, user-friendly interface for generating strong passwords.
https://github.com/rijoslal/django-e_crypt
bootstrap django html-css postgresql sha256
Last synced: about 1 month ago
JSON representation
e_crypt is a Django web app that generates secure, random passwords using SHA-256 encryption. Users can customize password length and character types (uppercase, lowercase, numbers, symbols) after logging in or signing up. It uses PostgreSQL for data storage and offers a simple, user-friendly interface for generating strong passwords.
- Host: GitHub
- URL: https://github.com/rijoslal/django-e_crypt
- Owner: RijoSLal
- Created: 2024-11-11T10:56:33.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-12-15T16:41:40.000Z (5 months ago)
- Last Synced: 2025-03-26T05:42:06.626Z (about 2 months ago)
- Topics: bootstrap, django, html-css, postgresql, sha256
- Language: HTML
- Homepage:
- Size: 1.47 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# e_crypt - SHA256 Password Generator
e_crypt is a web application built with Django and PostgreSQL that allows users to securely generate SHA256 hashed passwords. The app features a login and signup system for admin users, enabling them to manage and access the generated passwords.
## Features
- **User Authentication:**
- Signup and login functionality for admin users.
- Secure password storage using SHA256 hash.
- **Password Generation:**
- Generate a secure SHA256 password hash from the user input.
- **Admin Panel:**
- Admin can manage user data and passwords through the Django admin panel.## Technologies Used
- **Backend:** Django
- **Database:** PostgreSQL
- **Hashing Algorithm:** SHA256
- **Authentication:** Django's built-in user authentication system## Installation
### Prerequisites
Ensure you have the following installed:
- Python 3.x
- Django 4.x
- PostgreSQL
- Pip (for installing dependencies)### Setup
1. Clone the repository:
```bash
git clone https://github.com/RijoSLal/e_crypt.git
cd e_crypt
```2. Create a virtual environment:
```bash
python3 -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
```3. Install required dependencies:
```bash
pip install -r requirements.txt
```4. Set up the PostgreSQL database:
- Create a PostgreSQL database and user for the app.
- Update the database credentials in `settings.py` under `DATABASES`:```python
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'your_database_name',
'USER': 'your_database_user',
'PASSWORD': 'your_database_password',
'HOST': 'localhost',
'PORT': '5432',
}
}
```5. Run migrations:
```bash
python manage.py migrate
```6. Create a superuser for accessing the admin panel:
```bash
python manage.py createsuperuser
```7. Run the development server:
```bash
python manage.py runserver
```8. Open the app in your browser:
```
http://127.0.0.1:8000/
```9. Login to the Django admin panel:
```
http://127.0.0.1:8000/admin
```## Usage
- **Generate SHA256 Password:**
- Once logged in, users can input a password and the app will return its SHA256 hashed version.
- **Admin Panel:**
- Admin users can manage user accounts and access the password generation tool from the admin panel.## Contribution
Feel free to fork the repository, make improvements, and create pull requests. Contributions are always welcome!