https://github.com/anshuman-02/steganography
Python project for hiding secret messages in images using steganography.
https://github.com/anshuman-02/steganography
cybersecurity datahiding encryption imageprocessing opencv python steganography
Last synced: about 2 months ago
JSON representation
Python project for hiding secret messages in images using steganography.
- Host: GitHub
- URL: https://github.com/anshuman-02/steganography
- Owner: Anshuman-02
- Created: 2025-02-26T03:39:33.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-03-05T05:11:32.000Z (about 2 months ago)
- Last Synced: 2025-03-05T06:21:55.493Z (about 2 months ago)
- Topics: cybersecurity, datahiding, encryption, imageprocessing, opencv, python, steganography
- Language: Python
- Homepage:
- Size: 1.09 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🖼️ Secure Data Hiding in Images Using Steganography
## 🔒 Overview
This project implements **image steganography**, allowing users to hide secret messages inside images securely.
The message is encrypted before embedding, ensuring data security.---
## 📌 Features
- ✅ Hide secret messages inside images
- ✅ Uses **XOR encryption** for added security
- ✅ Supports **JPG & PNG** image formats
- ✅ Simple and lightweight implementation using **Python & OpenCV**
- ✅ Works on **Windows, Linux, and macOS**---
## ⚙️ Technologies Used
- 🐍 **Python** - Core programming language
- 🖼️ **OpenCV (`cv2`)** - Image processing
- 📂 **OS Module (`os`)** - File and system operations
- 🔐 **XOR Encryption** - Encrypting secret messages before embedding---
## 🚀 Installation & Usage
1. Install Dependencies
Make sure Python is installed. Then, install OpenCV:
```bash
pip install opencv-python2. Run the Encoder (Hiding Message)
```bash
python encryption.py
- Enter your secret message and password.
- The modified image (mypicencrypted.png) will be saved in the project folder.3. Run the Decoder (Extracting Message)
```bash
python decrypt.py
- Enter the correct password to retrieve the hidden message.---
## 📸 Example Output
- 🏞 Original Image →
- 🖼 Encrypted Image →
- 🔐 **Hidden Message Extracted Successfully!**