Hiding the original text behind a dummy text is one of the earliest forms of encrypted communication. It seems to have originated straight out of a Bond movie. But to be honest, in the current day and age with all the technologies at our disposal, implementing it seems a bit trivial.
So, let’s move ahead and implement the same. To do so follow the below steps:
Step 1: Open the command prompt as Run as Administrator and, wherever you want, create a text file and create a text file using the Windows OS (as in this fig. We have created our text file with “luv.txt” and “confidential.txt” and call it Save documents).
Step 2: To view the contents of the files, go to the file location where the file is saved and use the “type” command.
Step 3: The key stage of concealing classified knowledge has arrived. The “type” command now creates a secret / confidential file in which the confidential information is saved.
type luv.txt > confidential.txt:luv.txt
We have saved our secret file (confidential.txt) in the confidential data of our main file (luv.txt).
Well, congratulations!!. You have successfully hidden the original text under a dummy text. But now comes the important part which is retrieving the original text.
To unhide the text first enter the directory that has the main file. Finally, use the below command to unhide the text:
After entering the directory containing the main file, we must use the following command to access the contents of this secret file (luv.txt).
At this stage, you have successfully retrieved the confidential text.