A ghost lives in the last bit of every pixel.

GhostPixel hides a password-protected message inside a photo by nudging colours one step out of 255. Your eyes can't see it. Our detector usually can. Come poke at both.

Hide a message

Pick a photo, type a secret and a password. The secret is encrypted, then written one bit at a time into the lowest bit of each colour, from the top-left pixel.

OriginalWith secret
Drag across the photo to compare.

Reveal a message

GhostPixel reads the plain "GPX1" header first, then decrypts with your password. A checksum tells a right password from a wrong one. Three tries, like the console app.

The message

Detect hidden data

No password needed. The scan checks for our signature, then runs two statistical tests (RS analysis and the chi-square attack) on growing bands from the top. A band only counts when both tests agree.

cleansuspiciousGhostPixel payload

Each block is tested on its own. Blocks glow amber, then red, where the lowest bits look tampered with. Hover or tap a block to read its score.

Not scanned yet

Find the ghost

Three prints of the same photo. One carries a hidden GhostPixel message. Pick it, then watch our detector take its own guess. It plays blindfolded: the signature check is off, so it has only statistics.

Difficulty: how much is hidden

Dare a friend

Share this round as a code. Your friend gets the same photo, the same hidden message in the same print, and the same detector.

Hide your own

Write a secret for a friend. The code carries it encrypted, so they need your password to read it after they find it.

LSB sandbox

Each colour is one byte: eight bits. GhostPixel only ever touches the rightmost one. Click a pixel and flip its bits, or flip one bit in every pixel at once, and see when your eye starts to notice.

Tap or click anywhere on the photo to zoom into that pixel.

Pixel 0, 0

before
now

Flip one bit in every colour of every pixel

Destroy the ghost

The message lives at exact bit positions, so ordinary editing kills it. Move any slider and the reveal re-runs live with the right password.

Payload bits still in placeAlive

What Reveal reads now

Break the cipher

Our README says it plainly: the cipher is for learning, not for real secrets. Here are two ways to break it, run on GhostPixel's own cipher code.

Puzzle 1: two ghosts, one password

The key stream depends only on the password, so two messages hidden with the same password share it. Guess ghost A's message and ghost B decodes itself, letter by letter, with no password at all.

Ghost A, encrypted
Ghost B, encrypted
Ghost B, decrypted with the key stream your guess implies

Puzzle 2: the password oracle

Reveal knows instantly whether a password is right, thanks to the checksum. So a program can try passwords as fast as it likes. This ghost's password is three lowercase letters.

???

Password made ofPossibilitiesTime to try them all

0 of 19 clean photos flagged

Our measurements with the C++ build, statistics only (no signature). Random data was written into the lowest bits from the top, the way an unknown tool would, at three sizes.

Photos flagged as suspicious (score 70 or more), out of 19

The highest score on a clean photo was 21. The misses were a logo and a black-and-white silhouette: flat graphics, where these statistics are known to struggle.

Live check in your browser

The same detector, run right now on the three sample photos (downscaled for this page).

PhotoClean5%25%100%

Honest scope