This is a Python application for performing Least Significant Bit (LSB) steganography on images. LSB steganography is a technique for hiding a secret message within an image by modifying the least significant bit of each pixel's color channel. The application provides the functionality to encode a secret message into an image and decode a hidden message from an encoded image.
To run this application, you need the following dependencies:
- Python 3.x
- tkinter (Python's standard GUI library)
- Pillow (PIL) library for image processing
You can install the required libraries using pip:
pip install pillow
-
Launch the application by running the
lsb_steganography.py
script. -
Open an image by clicking the "Open Image" button. Supported image formats are PNG, JPG, and JPEG.
-
Enter the secret message you want to hide in the "Secret Message" input field.
-
Optionally, set a password in the "PIN(4-digit)" input field. This PIN will be used to decode the message later.
-
Click the "Encode" button to hide the secret message in the selected image. The encoded image will be saved with a
.png
extension.
-
Launch the application by running the
lsb_steganography.py
script. -
Open the encoded image (with the hidden message) by clicking the "Open Image" button.
-
Enter the PIN (if set during encoding) in the "Enter PIN For Decoding" input field.
-
Click the "Decode" button to reveal the hidden message. The decoded message will be displayed in the "Decoded Message" section.
-
Password Protection: If you choose to set a PIN during encoding, the application will require the correct PIN during decoding to ensure that only authorized users can access the hidden message.
-
Encryption: This application focuses on steganography (hiding data), not encryption (protecting data). If you have sensitive information, consider encrypting it separately before using this tool.
Contributions to this project are welcome. If you have suggestions for improvements or bug fixes, please open an issue or submit a pull request.
Enjoy encoding and decoding hidden messages within images with the LSB Steganography Application!