You must have heard about encryption techniques to send the message so that nobody else can understand the message. Have you ever tried sending encrypted messages to your friends? You should give it a try. You can use this cool trick to hide text in an image and send a secret message. The messages sent using this method are completely safe and can’t be easily decrypted unless you know the right method.
Feeling like a hacker already? This process is also known as Steganography. After hiding text behind the image, the unintended receiver will see the image only. However, the intended receiver can decrypt the message only if he knows the method to decode the secret message.
SEE ALSO: 10 Cool Command Prompt Tricks for you.
Hide Text Secret Message into Image (Steganography) using Command Prompt
Let’s check how to embed text into an image and send a secret message to your friend. We will use the command prompt for hiding our secret message in the selected sample image. We won’t need any special tool for this trick, just need an image.
Step 1: Get Your Sample Image Ready
First of all, get your sample image ready. You can copy your image to the desktop or some other folder. You must make note of the filename and extension. In this tutorial, we have copied our image
hellpc.png to the Test folder on the Desktop.
Step 2: Open Command Prompt in the Same Folder
After you are ready with the sample image, it’s time to open the command prompt in the same folder. We will use the command prompt to hide the text in the image. To open the command prompt in the current folder, type
cmd in the address bar of File Explorer and press Enter. You can also try other methods to open the command prompt in the current folder.
Step 3: Hide Text in the Image using Command Prompt (Steganography)
Now, type the following command in the command prompt and press Enter to embed your Secret text message into the sample image.
echo "This is secret message by HELLPC!">>hellpc.png
|echo||This command prints text entered next to it|
|This is secret message by HELLPC!||This is the text message that you want to hide in the image file. You can change it according to your requirements.|
|>>||Appends the input to the end of file|
|hellpc.png||Name of file to which you want to add the message|
SEE ALSO: A to Z List of Windows CMD commands.
Your message has been embedded into the image. You can send this secret message in the image to your friend and don’t forget to tell him the way to decrypt it. Anybody else won’t be able to recover the message from that image. Your message is completely confidential.
NOTE: Please note that you should not modify the image in any way like resizing, cropping etc. Otherwise, the message will be lost.
Decrypt the Secret Message using Notepad
Now, it’s time to see how to decrypt the secret message. Just like the process to embed text into the image, decrypting the message is also simple. You just need the Notepad to view the secret message embedded in the image.
Step 1: Open the Image in Notepad
To decrypt the message, we will open it in Notepad. So, right-click on the image and select Open with > Choose another app. (Click on Open with > Choose default program… for Windows 7).
From the list of programs, select Notepad and click OK. Do not tick the check box next to Always use this program to open.
Step 2: Scroll down to the Bottom to view Secret Message
The image file will open in the Notepad and you will see scrambled text. Don’t worry about that, just scroll down to the very last line of the code, and at the end of the last line, you will find your Secret Message.
Embed Secret Text Message into Image (Steganography)
So, you see how simple and safe is this method. You can do this trick with your friends and have fun. Just embed the message into the image and send it. However, you need to make sure to avoid making any changes like resizing, cropping, compressing, or encrypting the image. If any changes are made to the image, the secret message will be lost. You can also check this trick to make a zip of death.
You can send this image as an attachment via email. Well, you can also get the latest updates from us via email. And if you face any problems with this tutorial, just comment below. Enjoy, Secret messages hidden behind images (steganography).