Absolutely! Here’s the full README content in a single block, ready to copy-paste directly into your README.md file:
# 🛡️ SafePixel – Image Encryption using AES
Secure your images with **SafePixel**, a Flask-based web application that encrypts and decrypts images using the **Advanced Encryption Standard (AES)** algorithm. SafePixel ensures **data confidentiality and integrity** by combining AES encryption with **SHA-256 hashing** for verification.
[View Repository](https://github.com/Prathamesh5152/SafePixel---Image-Encryption-using-AES)
---
## 🚀 Features
- AES-based encryption and decryption for images (`.jpg`, `.jpeg`, `.png`)
- Generates a secure random 16-character AES key for each encryption
- Verifies file integrity using SHA-256 hashing
- Easy-to-use web interface built with Flask
- Download encrypted and decrypted files directly from the browser
---
## ⚙️ Installation
1. **Clone the Repository**
```bash
git clone https://github.com/Prathamesh5152/SafePixel---Image-Encryption-using-AES.git
cd SafePixel---Image-Encryption-using-AES- Create a Virtual Environment
python -m venv venv
venv\Scripts\activate # Windows
source venv/bin/activate # Linux/Mac- Install Dependencies
pip install -r requirements.txt- Run the Application
python app.pyOpen your browser and navigate to: http://127.0.0.1:5000/
- Upload an image.
- A 16-character AES key is generated.
- Image bytes are padded and encrypted using AES.
- SHA-256 hash of the original data is appended for integrity check.
- Encrypted image is saved in the
encrypted/folder.
- Upload the encrypted image and enter the AES key.
- File is decrypted and verified with SHA-256 hash.
- If valid, the decrypted image is saved in the
uploads/folder.
SafePixel/
│
├── app.py # Main Flask application
├── templates/
│ └── index.html # Web interface
├── uploads/ # Stores decrypted images
├── encrypted/ # Stores encrypted images
├── requirements.txt # Python dependencies
└── README.md # Project documentation
- Keep your AES key safe — it is required to decrypt the image.
- AES encryption ensures high security and performance.
- SHA-256 ensures the image is not tampered with during storage or transfer.
- For production, consider proper key management solutions.
Prathamesh Salokhe Final-year Computer Engineering Student 💡 Interests: Cybersecurity | Web Development | Cryptography