Steganography is the practice of hiding secret data within ordinary files — in this case, images — so that it’s completely invisible to the human eye.
This project demonstrates how to embed and extract hidden data from images using Python. It’s a learning‑focused tool built for cybersecurity enthusiasts, students, and developers.
✔️ Hide any text or file securely inside an image
✔️ Extract hidden data from stego images
✔️ Simple Python implementation (LSB or custom technique)
✔️ Beginner‑friendly codebase for learning purposes
Steganography conceals information within a carrier file (like an image) such that someone inspecting the file won’t notice anything unusual.
This project focuses on image-based steganography, embedding secret data inside image pixel values without noticeable distortion.
You will need:
- Python (3.7+ recommended)
- Basic Python packages (install via pip)
-
Clone the repository
git clone https://github.com/haleema-khatun/Steganography.git cd Steganography
python -m venv venv source venv/bin/activate # Linux & macOS venv\Scripts\activate # Windows
pip install -r requirements.txt
pip install pillow numpy
| Operation | Input | Output |
|---|---|---|
| Encode | img.jpg with secret text |
encryptedImage.jpg |
| Decode | encryptedImage.jpg |
revealed.txt |