Home > Application, Technology > Encrypting Secret Messages in Pictures

Encrypting Secret Messages in Pictures

This is a very cool (and somewhat technical) description of a simple way to use Mathematica to hide a secret message in an image file.


The basic idea is that you erase the last digit (in binary) of each pixel’s “color channel”, and then use that spot to store part of the secret message.  Given an image, you can then recover the secret message by looking at that last digit in each channel.

This process does change the image somewhat, but not in a way that the normal human eye (with normal viewing equipment) would ever notice.  In the post, the author subtracts the adjusted image from the original:

To most viewers, the difference looks like this:

Only under extreme contrast can you actually see the real difference in the two, i.e. make the invisible ink reappear!

All that’s left is to decode the colors and read your message.  Just don’t blame me when a couple of guys in dark suits come knocking on your door.

Click here to see more in Application.


  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: