Hide or reveal
Hide or reveal hides a short encrypted message in a photo or ordinary text. It's in beta: it appears under Secrets, marked Beta, unless the operator turns it off. Nothing leaves your device.
Text version of this figure
- Hide or reveal: encrypted first, then hidden, so the photo or text carries only random-looking bytes.
- Step 1, your message: a memo, link or secret, up to 16 KB in a photo or 465 bytes in text.
- Step 2, encrypt (PSS1): AES-256-GCM, with keys derived by HKDF-SHA-512 from scrypt (for a passphrase) or from a random 256-bit key.
- Step 3, payload: salt, nonce, ciphertext and tag, with no header and no length field, padded to one of eight fixed sizes.
- Step 4, hide: in a PNG photo as one-level changes spread over the image, or in text as invisible characters.
- Step 5, verify and save: the result is read back and decrypted before saving, and saved only when you choose.
- What protects it: the encryption. Without the passphrase or key the hidden bytes look like random noise; any change makes revealing fail and altered text is never released; an enhanced-security key travels separately.
- What hiding does not do: hide its presence from statistical analysis; survive JPEG conversion, resizing, editing, social networks or messaging apps; or make a short passphrase strong, since four words can be guessed offline by whoever finds the data.
- Everything happens on the device: no photo, message, passphrase, key or result is sent anywhere.
Locker encrypts first, then hides, so whoever finds the hidden data still needs your passphrase or key.
Hide a message in a photo
Choose a photo (PNG or JPEG; other kinds, damaged files and PNGs with a transparent color are refused before being decoded), write your message, choose the protection, and press Hide. Locker checks the result before Save photo. You get a PNG without camera details or location; your original is unchanged.


Text version of this video
- Secrets is opened, then Hide or reveal.
- A photo is chosen and a link is typed as the message; Locker suggests a four-word passphrase.
- Hide is pressed; Locker hides the link, checks that it can be revealed, and offers Save photo.
- The PNG photo is saved.
- Reveal is chosen, the saved photo selected, the four words typed, and Reveal pressed.
- The link appears as text, not as a clickable link.
Shortcuts: Hide the link in a photo (Done screen), Hide a message (a photo you're sending), Hide in a photo (a generated secret, under More), Hide in text (below a memo).
Send the photo as a file. Converting, resizing, editing, screenshots and most social networks destroy the message.
Choose the protection
- Passphrase: four words by default. Can be guessed offline, so use it for low-stakes messages.
- Enhanced security: a random 256-bit key. Send the key separately, never with the photo or text.
Reveal a hidden message
Choose Reveal, then the photo or text, and enter the passphrase or key. Links are shown as text, never clickable. If anything is wrong, Locker says only that nothing was found.

Hide a message in text
Write the visible text and the message, and press Hide. Invisible characters are added; the visible text doesn't change. Some apps strip them, which destroys the message.

Inspect a photo or text
Inspect finds invisible characters in text, and hidden details or extra data in a photo. Finding nothing doesn't prove nothing is hidden.

What it is not
- Not undetectable. Analysis can often spot it; the encryption keeps it private.
- Not stronger than its secret. Use Enhanced security for anything sensitive.
- Not for files. Up to 16,337 bytes in a photo (fewer in small photos) and 465 bytes in text; letters outside basic Latin take more than one byte each. Use a Locker for files.
- Not a guarantee from Inspect. It reports when something couldn't be checked (too large or an unsupported type). Finding nothing never proves nothing is hidden, and nothing here removes hidden content.
Developers: see STEGANOGRAPHY_FORMAT.md.