Images
Methods to hide or scramble an image
Steganography, keyed scrambling, splitting into shares: each page explains the principle, what gives it away and what destroys it. Those tagged “In the workbench” can be tried right away on your own images.
Hide a message in an image
Everything runs in your browser: no image is ever sent to a server.
Steganography
The secret is hidden in an image that looks normal.
-
lsb
BeginnerLSB (least significant bits)
Text hidden in the last bit of every colour. Invisible to the eye, fragile under JPEG.
In the workbench Read the page -
image-in-image
BeginnerImage in an image
The top bits of one image slipped into the low bits of another.
In the workbench Read the page -
alpha-channel
IntermediateAlpha channel
Text hidden in transparency. The colours do not move by a single bit.
In the workbench Read the page -
bit-plane
BeginnerBit plane
A drawing hidden in one bit of one colour, revealed by isolating that plane.
In the workbench Read the page -
lsb-matching
AdvancedLSB matching (±1)
LSB without its statistical signature: add or subtract 1 instead of overwriting the bit.
In the workbench Read the page -
pvd
AdvancedPixel value differencing (PVD)
Bits hidden in the gap between two neighbouring pixels, more where the image is busy.
In the workbench Read the page -
watermark
AdvancedSpread-spectrum watermark
A short message diluted across the whole image: it survives where LSB is destroyed.
In the workbench Read the page
Scrambling
The image itself becomes unreadable; a key restores it.
-
pixel-permutation
BeginnerPixel permutation
Every pixel is still there, just shuffled by a key. A transposition cipher for images.
In the workbench Read the page -
xor-keystream
IntermediateKeyed XOR
The image combined with a noise stream drawn from the key. Do it again to undo it.
In the workbench Read the page -
logistic-map
IntermediateChaotic map (logistic)
A noise stream drawn from a chaotic sequence: a barely different key, an unrecognisable result.
In the workbench Read the page -
color-substitution
BeginnerColour substitution
Colours change, pixels stay put. A monoalphabetic substitution for images.
In the workbench Read the page -
arnold-cat-map
IntermediateArnold's cat map
Stretch, fold, repeat: the image dissolves into noise, then comes back by itself.
In the workbench Read the page -
block-permutation
BeginnerBlock permutation
The image cut into tiles and shuffled like a jigsaw. Holds up against JPEG.
In the workbench Read the page
Sharing
The image is split into shares that show nothing on their own.
-
visual-cryptography
IntermediateVisual cryptography
Two noise transparencies; stack them and the image appears. Decryption is done by eye.
In the workbench Read the page -
xor-share
BeginnerXOR sharing
Two images of coloured noise whose XOR gives back the original, losslessly.
In the workbench Read the page
Visual illusion
The secret is in plain sight, but only shows a certain way: boosted contrast, a filter, distance, angle, a grid.
-
low-contrast
BeginnerLow contrast
An off-white drawing on white: invisible until you push the contrast.
In the workbench Read the page -
red-filter
BeginnerRed filter
A jumble of coloured tiles; through a red film, the drawing appears.
In the workbench Read the page -
hybrid-image
IntermediateHybrid image
One image up close, another from afar: distance does the decryption.
In the workbench Read the page -
autostereogram
IntermediateAutostereogram
An abstract pattern; look “behind” it and a raised shape comes out.
In the workbench Read the page -
anamorphosis
BeginnerAnamorphosis
An image stretched to the extreme that re-forms when viewed from the side.
In the workbench Read the page -
line-screen
IntermediateLine screen
Uniform stripes; a transparent grid laid on top reveals the drawing.
In the workbench Read the page
Image file
The secret is in how the file is written, not in what the image shows.
-
png-text-chunk
BeginnerPNG metadata
The message in a "comment" field of the file. Pixels untouched, but visible in the properties.
In the workbench Read the page -
png-private-chunk
IntermediatePNG private chunk
A chunk with a made-up name that image readers skip without a word.
In the workbench Read the page -
png-trailing-data
BeginnerData after the end of the file
The message stuck behind the image, where viewers no longer look.
In the workbench Read the page -
png-zip-polyglot
IntermediateImage + ZIP polyglot
One file, two readings: an image for the viewer, an archive for the unzipper.
In the workbench Read the page -
png-palette
AdvancedPalette order
The message is in the order of the palette's 256 colours, not in the image.
In the workbench Read the page -
jpeg-dct
AdvancedDCT coefficients (JSteg)
LSB applied where JPEG does not erase it: in its coefficients.
In the workbench Read the page