Skip to content

Mohamed-Ashik-S/Image-Steganography

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LSB Steganography Application

Steganography

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.

Table of Contents

Requirements

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

Usage

Encoding a Message

  1. Launch the application by running the lsb_steganography.py script.

  2. Open an image by clicking the "Open Image" button. Supported image formats are PNG, JPG, and JPEG.

  3. Enter the secret message you want to hide in the "Secret Message" input field.

  4. Optionally, set a password in the "PIN(4-digit)" input field. This PIN will be used to decode the message later.

  5. Click the "Encode" button to hide the secret message in the selected image. The encoded image will be saved with a .png extension.

Encoding

Decoding a Message

  1. Launch the application by running the lsb_steganography.py script.

  2. Open the encoded image (with the hidden message) by clicking the "Open Image" button.

  3. Enter the PIN (if set during encoding) in the "Enter PIN For Decoding" input field.

  4. Click the "Decode" button to reveal the hidden message. The decoded message will be displayed in the "Decoded Message" section.

Decoding

Security

  • 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.

Contributing

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!