Tuesday, 11 December 2012

Hiding Text in an Image File

Times may come when you need to hide some kind of text so that someone using your machine do not read it. Today I'm going to tell you about one such way in which you hide a text in an image file. Carry out the following steps to see a demo of such a hiding.

1. Make a test folder in C:\ drive and lets give it an address C:\test\
2. Copy an image file, say image.jpg to this folder.
3. Create a text file, write something in it and save it as text.txt.
4. Open command prompt. To do so, press Win+R, type cmd in the text field and press enter.
5. Navigate to the test folder you created.
6. Type in the following command to create the image file that also contains your hidden text :
     copy /b image.jpg + text.txt newimage.jpg
7. A new file has been created named newimage.jpg with the text hidden inside it. To see this text, open the image in notepad and scroll down to the end of the file. You'll find the required text there.

Note : This is one of the basic methods of steganography. You may hide data using this method from your friends or unsuspecting people, but you may not rely much on this method for very sensitive information since it can be traced easily if needed.

No comments:

Post a Comment