Cryptography & Steganography

How to Hide Text behind Text

Introducing a very simple yet rarely known method of securing textual information: whitespace steganography hide text. This technique allows you to hide a text file inside another text using only spaces, tabs, and line breaks—making it nearly invisible. In just a few easy steps, you can transmit sensitive data discreetly and effectively.

Hide

Step 1

Open command prompt and create a text file to where ever location you want. Or create a text file using windows GUI (in this example we have created our text file with name raj.txt and saved it to the Desktop). 

Step 2

Go to the location where the file has been saved and use “type” command to view the content of the file. 

whitespace steganography hide text

Step 3

Then, comes the main step of hiding secret information. A hidden / confidential file is now been created through Echo command and the confidential information is being saved in it.

Syntax: echo <Secret/confidential message> > host text file (raj.txt in our case) : <secret file name (secret.txt as shown below)>

We have saved our confidential file (secret.txt) containing confidential data within our host file (raj.txt)

Unhide

Step 4

To view the content of this hidden file, we need to use the following command after entering into the directory containing host file (raj.txt)

Syntax : start .<host file(raj.txt)> : <confidential file(secret.txt>

whitespace steganography hide text

Whitespace steganography offers a subtle method to hide text within documents by manipulating spaces, tabs, and line breaks. As a result, this technique allows for covert communication without altering the visible content, making detection challenging. Nevertheless, it’s important to use such methods responsibly and be aware of their ethical implications.

To learn more about Steganography and Cryptography. Follow this Link.