A Raw Python Implementation of LSB Image Steganography with GUI. No external crypto libraries used.
This is a Python-based tool that allows you to hide a message within an image using the Least Significant Bit (LSB) method of steganography.
The tool also provides a graphical user interface (GUI) built with Tkinter, making it easy to encrypt (hide) and decrypt (reveal) messages in images.
- 🔒 Encrypt (Hide) Message in Image: Embed a secret message into an image.
- 🔓 Decrypt (Reveal) Message from Image: Extract hidden messages from an image.
Ensure you have the following:
- Python 3.x
- Pillow (PIL Fork)
- Tkinter
You can install the required dependencies using the following:
pip install pillow-
Clone or download the repository to your local machine.
-
Ensure you have Python 3.x installed on your system.
-
Install the necessary dependencies:
pip install pillow- Run the script:
python stego_gui.py- The GUI will appear, allowing you to either encrypt (hide) or decrypt (reveal) messages in images.
Encrypt (Hide) Message 🔒
-
Click Select Base Image to choose an image where the message will be embedded.
-
Enter the message you want to hide in the "Enter Message" box.
-
Click Encrypt & Save As... to save the image with the hidden message.
Decrypt (Reveal) Message 🔓
-
Click Select Stego Image (PNG) to choose the image with the hidden message.
-
Click Decrypt Image to reveal the hidden message.
At the moment, I'm working on this project solo. However, if you'd like to contribute in the future, feel free to fork the repository, make your changes, and submit a pull request. Contributions are always welcome!
This project is licensed under the MIT License. See the LICENSE file for details.