Skip to main content

New : Cipher Breaker, the codebreaking assistant, is now on Android Discover

▮ CipherChronicle

Image workbench

Recover a message hidden in an image

Drop the image you received, pick the method and its settings: the hidden message or image shows up. If several methods were chained, add them in reverse order. For a shared image, drop both shares.

Everything runs in your browser: no image is ever sent to a server.

Encrypt

Image holding the secret

Result

Drop the image to decrypt: the result shows up here.

Available methods

LSB (least significant bits)
Hides text in the least significant bits of the red, green and blue channels. The image looks unchanged. An optional key shuffles the order of the pixels used.
Image in an image
Hides one image inside another: the top bits of the secret image replace the low bits of the cover image.
Alpha channel
Hides text in the least significant bit of the transparency channel, leaving the colours untouched.
Bit plane
Writes a black-and-white drawing into a single bit of a single channel. It shows up when that plane is displayed on its own.
LSB matching (±1)
A stealthier LSB: instead of overwriting the last bit, 1 is added to or subtracted from the colour. Read exactly like LSB, but far harder to detect.
Pixel value differencing (PVD)
Hides text in the gap between two neighbouring pixels: more bits in textured areas, very few in flat ones.
Watermark (spread spectrum)
Dilutes a short text across the whole image: each bit is spread over thousands of pixels picked by the key. Tiny capacity, but the message survives moderate recompression.
Pixel permutation
Shuffles the pixels of the image with a key. The colours remain, the shape is gone.
Keyed XOR
Combines every pixel with a pseudo-random stream derived from the key. The image turns into noise; the same key restores it.
Block permutation
Cuts the image into tiles and shuffles them with a key, like a jigsaw. With 8 or 16 pixel tiles, the scramble survives JPEG compression.
Colour substitution
Replaces every colour value with another, using a table drawn from the key. Shapes stay visible, in false colours.
Chaotic map (logistic)
Combines the image with a stream drawn from a chaotic sequence whose starting point is set by the key. Two nearly identical keys give two unrelated noises.
Arnold’s cat map
Stretches the image and folds it back into its square, several times. It turns into noise, then comes back by itself after a precise number of iterations. On a non-square image, only the central square is transformed.
Visual cryptography
Splits the image into two black-and-white noise shares. Stacked like two transparencies, they reveal the image.
XOR sharing
Splits the image into two coloured noise shares. Their XOR gives back the original image, losslessly.
Low contrast
Draws the shape in a tint almost identical to the background. The image looks plain; pushing the contrast makes it appear.
Red filter
Buries the drawing in a mosaic of four colours. Through a red filter only two tones remain and the drawing can be read.
Hybrid image
Blends the broad shapes of one image with the fine detail of another. Up close you see one, from afar the other.
Autostereogram
Hides a raised shape in a repeating dot pattern, from a depth map (light = near). It appears when you look “behind” the image.
Anamorphosis
Stretches the image to several times its height. Unrecognisable head-on, it re-forms when viewed at a grazing angle.
Line screen
Hides the drawing in fine stripes: inside the shape they are shifted by half a period. A grid of the same pitch laid on top reveals it.
PNG metadata
Stores the text in a metadata field of the file, under a keyword. The displayed image does not change; the file properties show it.
PNG private chunk
Adds a chunk of a private type to the file, which viewers ignore. Invisible unless the file is opened byte by byte.
Data after the end
Appends the text after the official end of the image. Viewers stop before it; a text editor shows it.
Image + ZIP polyglot
Appends a ZIP archive after the image: the same file is both an image and an archive. Renamed to .zip, it opens and yields the message.
Palette order
Reduces the image to 256 colours and hides the text in the order those colours are stored in the file. No displayed pixel depends on the message.
DCT coefficients (JSteg)
Saves the image as JPEG and hides the text in the frequency coefficients, after the rounding that does the compressing. The file stays an ordinary JPEG.