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.
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.
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.
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.
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.
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
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.
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.
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 of | Possibilities | Time 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.
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).
| Photo | Clean | 5% | 25% | 100% |
|---|
Honest scope
- The cipher is for learningXOR with a password-seeded stream. Fine for a class project, breakable by anyone with the code and a few samples, as Break the cipher shows.
- Detection is a score, not proofNoisy photos can push a clean image up. A very short message from another tool can stay under the radar.
- Our own messages are easy to spotOn purpose: the plain GPX1 header lets Reveal tell "no message" from "wrong password".
- Editing kills the messageJPEG, resizing, cropping or recolouring destroys it. Only lossless copies keep it.