Software by tag 'comand'

How to hide important information in an image file?

Posted by Dickey on Feb 6th, 08 | Filed under Tips, Tutorial | 6 Comments

This tutorial will discuss about how to hide a text file in a jpeg/bitmap image file. It can be done without any other application.

Sometimes, we save our email-account and password inside a text file, but we scare other people get the file and then access our email. So, we always thinking method to protect our own password. We may use some password manager to save all the password with a master password. But, what happen is we lost the master password or other people manage to hack the master password? So, why not we hide the important information inside an image file?

How it work?

  1. First of all, you need to save your informations in a text file and then prepare an image (either jpeg or bitmap format). In this example, i will user secret.txt as my text file and photo.jpg as my image file.
  2. Put the text document and image together. Here, i put them in my C: drive.
  3. Go to Run, the type cmd. This will bring you to the command prompt.
  4. Now, type cd\ to go to the root. In this case, the root is C:. You can proceed to the next step if you save your image and text file in C: drive. But, if you save them in other folder, such as c:\testing, you need to type cd\testing to go into the folder.
  5. Now, you reach the most important part. Type copy photo.jpg/B+secret.txt/B output.jpg. The image file need to come first. If you put your text file before image file, the output image file maybe cannot open properly. Beside this, the input image and output image must be same format (either both in jpeg or both in bitmap).
  6. Now, try to open the output.jpg using any image viewer. Looks no different with photo.jpg right?
  7. Now, try to open output.jpg using notepad, you will found the secret.txt contents inside.

Now, your informations are safe enough, because you are the only person which know which image contains the informations. Even they can access the file, they won’t open an image with notepad, right?

Advice: It is better to choose smaller size image, else you need longer time to open it using notepad.