The Science Of Hiding Secret Messages Inside Regular Images

It’s been said that hiding something in plain sight is the best way to keep said thing a secret… as long it’s not an elephant in the middle of Federation Square. Yeah, you still have to put a little bit of effort in. For instance, did you know you can stash the entire works of Shakespeare in a (sufficiently-sized) JPEG and no one would be the wiser by simply looking at the image?

In this video from Computerphile, Dr Mike Pound explains the mechanics behind steganography — to hide one thing within another. In this case, it’s an arbitrary piece of data inside a typical photography. As Pound shows, with the right tools it’s possible to put something as dense as Shakespeare into a three megapixel photo of a tree, simply by storing it in the least significant bits of the image’s pixels.

Because the bits contribute very little to the colour and luminance of the pixel, without proper examination, it’s impossible to tell the image has been altered at all.

While fascinating, it’s also not the most robust way of hiding information, especially for a lossy image format such as JPEG. All it would take is for someone to resave — and therefore recompress — the file to all but obliterate any data stored inside.

[YouTube, via PetaPixel]


The Cheapest NBN 50 Plans

It’s the most popular NBN speed in Australia for a reason. Here are the cheapest plans available.

At Gizmodo, we independently select and write about stuff we love and think you'll like too. We have affiliate and advertising partnerships, which means we may collect a share of sales or other compensation from the links on this page. BTW – prices are accurate and items in stock at the time of posting.