Steganography is the art of hiding a secret message within another message or
physical object in a way that the presence of the hidden message is not obvious to
an outside observer. The word comes from the Greek words steganos (meaning
"covered" or "hidden") and graphia (meaning "writing"). Essentially, it's about
"hidden writing."
How it's different from cryptography
While both steganography and cryptography are used to secure messages, they work in
different ways:
Cryptography scrambles a message so that it is unreadable without a key. The
message itself is visible, but its content is hidden.
Steganography hides the very existence of a message. The cover medium (like an
image or an audio file) appears normal, so no one even knows to look for a secret
message.
How it works in a digital world
In the digital world, steganography often involves embedding secret data into a
file that has a lot of "redundant" or "insignificant" data. One of the most common
techniques is called Least Significant Bit (LSB) steganography.
Here's a simple way to think about it:
Imagine a digital image. The color of each pixel is represented by a series of
bits. For example, a single pixel's color might be represented by 24 bits (8 for
red, 8 for green, and 8 for blue). The "least significant bit" is the very last bit
in this sequence. Changing this bit has a minuscule effect on the color of the
pixel, an effect that is completely unnoticeable to the human eye.
Steganography works by replacing the least significant bit of a number of pixels
with the bits of the secret message. This allows a message to be hidden without
visibly altering the image. The recipient would know to extract the hidden message
by reading the LSB of each pixel in a specific, predetermined order.