Hiding Secret Data using Steganography
Abstract
This project mainly deals with hiding confidential data using a technique called as steganography. As we all know how important secret data might be in any field especially in the battle field where loads of confidential data are being transmitted and this cannot be seen/heard by the enemy warheads, so inorder to make it confidential and hide our messaged we can use something called a steganography. Apart from this we also have wide variety of data hiding techniques. Those looking to transmit a secret message or code utilize steganography, a technique that involves hiding hidden data within a regular file or message so that only someone who understands how to extract it may use it.
Steganography has a variety of valuable uses, but it has also been demonstrated that malware writers employ it to cover the transfer of potentially harmful code.
Data hiding using Steganography is encoded in the data file that can be either of image, text, video, document etc. To encode data into the file, the file needs to be selected with its extension respect to the input file. The most important thing after encoding is to save new file, the regular file gets no changes. To get the secret data from the file the file saved after encoding should be passed as input with the file extension.
Programming Methodology
- To perform Steganography, the one need to encode to hide and decode to access.
- The data can be Image or other forms of files.
- To encode image, its name with the extension (like .pdf, .jpeg, .jpg, .png etc.
- Then a new file name should be entered
- The images will look same with and without Steganography and that’s what we need.
- To decode use the same code to get hidden data.
Code Description & Execution
How to Execute?
Step 1 :
You need to open the jupyter notebook in the path directory on the anaconda prompt shell.
In my case
To perform the above step you already need to have knowledge of installing jupyter notebook and running anaconda shell, if you don’t know how to install or run jupyter notebook check our previous articles about it.
Step 2 :
– Install required libraries
– In anaconda prompt type pip install –r requirement.txt
or install libraries by reading requirement.txt
and use (!pip install (name))
Step 3 :
run the ipynb file
OUTPUT
Issues you may face
- While giving right path in the Anaconda prompt shell to open jupyter notebook in correct directory.
- Make sure to install requirements.txt using (!pip install -r requirements.txt) in the first code cell.
- Make sure to open any .ipynb field using jupyter notebook command entered in your anaconda terminal and from there you will be redirected to a webpage, where you will have your executable files, click on any .ipynb file to open it and in order to run this press shift + enter.
Note:
All the required data has been provided over here. Please feel free to contact me for model weights and if you face any issues.
https://techieyantechnologies.com/contact/
Yes, you now have more knowledge than yesterday, Keep Going.
Click Here To Download This Code And Associated File.