Hide data by embedding in the text file into a image with a modern and simple tkinter GUI (Or extract data from a data-embedded image)
=> This GUI-application uses the Least Significant Bit (LSB) steganography method without encryption <= The GUI does not encrypt the text file provided as input. I haven't included this functionality in the code yet.(it directly embeds the data from the text file into the image without any encryption) Therefore, if you're going to hide very important data, encrypt the data within the text file first and then provide it to the GUI.
To use this project, follow these steps:
-
Install the required libraries. Use the following commands to install the PIL (Python Imaging Library) and tkinter libraries using pip:
# - WINDOWS Installation - pip install pillow pip install tk # - LINUX Installation - sudo apt-get install python3-pil python3-pil.imagetk sudo apt-get install python3-tk
- Run the main.py file located in the project's root directory. You can do this with the following command:
python main.py
->[Stepy by step working logic]:
- Select an Image File
- Select a text file
- Select a Destination Folder
- Click the "Embed Data" Button
- ^_^ After clicking the "Embed Data" button, your newly embedded image will be saved in the chosen destination folder. If you want to extract the data later, you can select the embedded image and use a simple extraction process.