Skip to content

Python GUI based application for Image Steganography with encryption using key based LSB substitution

License

Notifications You must be signed in to change notification settings

iamsubingyawali/encryptstego

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Encryptstego

Python GUI based application for Image Steganography, with encryption and key based LSB substitution


Installation

Before installing this application on any OS environment, clone this repo using the command below in your terminal or command prompt or powershell prompt.

git clone https://github.com/iamsubingyawali/encryptstego.git

Installation on Windows

It is pretty simple to install and run this application on Windows. There are two ways one can can run this app on Windows.

Using installer

See the latest app release, a windows application installer "ensetup.exe" is available there. Download and run the installer, follow the on-screen instructions and done. You can launch the app from the start menu.

Manual installation

The manual installation on Windows is same as the installation on Linux and Mac environments. See Linux/Mac installation section to manually install the app.

Please note that this application was developed using Python 3.9, and it is the recommended version for this application to run. While it may work with newer versions as well, it is not guaranteed.

Installation on Linux/Mac

First clone the repo using the command above and navigate to the cloned directory. Then run the command below to install all the dependencies. If the system has multiple versions of Python and pip installed, use version 3.

cd encryptstego
pip install -r requirements.txt

After all the dependencies are installed, just run the main file using the command below. But when the application runs, a error may be displayed on Linux or Mac environments (Will be fixed soon). This is because the program was primarily written for Windows OS. So, before running the file, open the encryptstego.py file and comment the line from ctypes import windll on line 7. Also set the value of windows variable to False on Line 21. Making these changes, save the file and run the program using command below. The GUI window should open.

python encryptstego.py

Usage

This application can be used to embed the text messages into images. The main window has two options Encode and Decode. As the names suggest, the Encode button is used to encode the text into images while the Decode button is used to decode the texts from encoded images.

For encoding, a password must be provided. The password is used to encrypt the text before encoding as well as to dynamically select the pixels to embed the data into.

For decoding, the correct image with encoded text must be used. The password must be correct. Without the correct password, the text can never be extracted from the image.

Open an issue if any errors occur while using the app. You can also contribute to the project for further enhancements.

Known Issues

Distorted elements in different resolutions due to fixed positioning (Will be fixed soon)

Made with ❤ and Python

About

Python GUI based application for Image Steganography with encryption using key based LSB substitution

Topics

Resources

License

Stars

Watchers

Forks

Languages