Hide encrypted messages in photos and text
StegPony encrypts a message or a file and hides it in the fine detail of an ordinary photo, or in text you can paste anywhere. Nothing in the file marks it: no header, no marker, no fixed layout, and without the right passphrase or key the image is just a photo. How hard it is to detect depends on how much you hide, and the app rates that before you hide it.
Version 1.0.0 for Android 8.0 or later. Free and open source. F-Droid is coming. Check your download
How it works
-
Pick a cover
Take a photo with StegPony's camera, or pick one you took yourself and haven't shared anywhere.
-
Write the message
Type text or pick a file. The capacity meter shows how much fits and how detectable the result would be.
-
Lock it
Use a passphrase or someone's public key. Add a decoy under a second passphrase if you want one.
-
Send the file
Send the image as a file or document. The recipient opens it in StegPony with the passphrase or their key.
Screenshots
Features
Hiding
- JPEG photos
- The message goes into the photo's own compressed data, so it stays a JPEG with your camera's compression, like any other photo from your phone.
- Lossless PNG
- For images that were PNGs to begin with, such as screenshots and graphics.
- Text
- As a run of ordinary words that reads as nonsense, or as invisible characters inside a message you write. Both hold far less than a photo and are labelled honestly in the app.
- Detectability rating
- Low, medium or high, from tests with a standard detector on real phone photos, shown before you hide.
- Files too
- Hide any file that fits, including an age or PGP file from AgePony or PGPony.
Keys
- Passphrases
- Stretched with Argon2id, so guessing is slow.
- Public keys
- Hide for someone's age key or Curve25519 OpenPGP key; only their secret key opens it.
- Hardware keys
- Open hidden messages with an OpenPGP card over NFC or USB. The secret stays on the card.
- Contacts and QR codes
- Add contacts by QR code, by pasting a key, from a file, or shared in from another app such as PGPony.
On your phone
- Decoy
- A second message under a second passphrase. Nobody can tell whether an image has one.
- No network access
- The app has no internet permission at all.
- App lock and screenshot blocking
- Fingerprint, face or screen lock to open the app. Reveal and Keys always block screenshots.
- Launcher disguise
- Show the app as Photo Tools, Notes or Utilities in the launcher. It slows down a casual look; the real name still shows in Android's app settings.
- Cover reuse warning
- StegPony remembers fingerprints of covers you've used, on the phone only, and warns before one is used again.
- Metadata removed
- Location, time and device details are stripped from the output by default.
Sending the image
What's hidden survives only if the file arrives unchanged. These are the results so far, from real sends.
| How you send it | Result | Notes |
|---|---|---|
| As a file or document, by email, USB, RelayPony or cloud storage that keeps files unchanged | Works | The file arrives byte for byte, which is all StegPony needs. Some cloud and photo services re-save images, so check yours. |
| Telegram photo | Not yet | Telegram re-saves photos, which destroys what's hidden. |
| WhatsApp or Signal photo | Not yet | Both recompress photos. Measurements so far show they need an error-tolerant mode, which is planned for after version 1.0. |
| Hidden text in a message | Depends on the app | Words survive as long as no word is changed, so watch for autocorrect. Many apps remove invisible characters, so send yourself a test first. |
Never send or post the original photo as well. Anyone holding both can compare them.
What StegPony can't protect against
Hiding lowers the odds of being noticed; it doesn't make them zero. The app's Help says the same thing in more detail.
- Someone who has the original photo you hid in.
- A detector trained on photos from your own camera, especially with a lot hidden.
- Someone who knows StegPony is installed and insists on a second passphrase.
- A forensic examination of your unlocked phone.
- Anyone who sees whom you send images to, and when. StegPony hides what you send, not that you sent it.
Technical details
- Passphrase
- Argon2id, 128 MiB, 3 passes, 4 lanes
- Public key
- X25519 with Elligator 2, HKDF-SHA256
- Encryption
- ChaCha20-Poly1305
- Layout
- No header, no length or version in the clear; padded to fixed sizes
- Slots
- Two in every carrier: payload plus decoy or random filler
- Code
- Ternary syndrome-trellis code
- JPEG
- AC coefficients, J-UNIWARD costs, no re-encoding
- PNG
- Pixel values, HILL costs
- Text
- 4,096-word English list, or zero-width characters
- Positions
- Keyed permutation from the passphrase, or from the recipient's public key in public-key mode (anyone with that key can find the positions, not read them)
- Platform
- Android 8.0 or later, arm64-v8a and x86_64
- Core
- StegPonyCore, in Rust, written to be shared across platforms
- Permissions
- Camera (in-app photos and QR codes) and NFC (hardware keys); no internet
- Keys at rest
- Encrypted with an Android Keystore key, left out of backups
- License
- Apache-2.0
Source code
Everything is open source. The format is written down, with test vectors, so the scheme can be checked on its own.
- StegPonyAndroid
The Android app, in Kotlin and Jetpack Compose.
- StegPonyCore
The Rust core: format, envelope, carriers and the app bindings. FORMAT.md is the specification.
FAQ
Can anyone tell that a photo has something hidden in it?
Why can't I send the image as a normal photo in WhatsApp or Signal?
What is the decoy?
Does it work with my age or PGP keys?
Can I open hidden messages with a hardware key?
Is there an iPhone or desktop version?
Where do I get it?
Download
StegPony 1.0.0 was released on November 20, 2026. The APK is signed, with an OpenPGP signature beside it, and the same file is on GitHub.
- The first release. StegPony encrypts a message or a file and hides it inside an ordinary photo, or inside text.
- Without the right passphrase or key there is nothing to find: no header, no marker, and no way to tell a photo with something hidden from one without.
- Hides text or a file in a JPEG, which stays a JPEG with the camera's own compression, or in a PNG.
- Locks it with a passphrase, or with someone's public key so that only their secret key opens it.
- Adds a decoy if you want one: a second message under a second passphrase, to give up if someone makes you open the image. Nobody can tell whether an image has one.
- Shows a detectability rating (low, medium, high) before you hide, with a meter that marks where each rating begins.
- Takes the cover photo with its own camera, so the photo is never saved anywhere else, and warns when a photo was used before or looks like a download or a messenger copy.
- Hides in text when a photo can't be sent, as a run of ordinary words or as invisible characters inside a message you write.
- Reveals with a passphrase, your saved keys, a pasted secret key, or an OpenPGP hardware key over NFC or USB. Tested with a Token2 PIN+, and with a Nitrokey 3A NFC over USB.
- Uses age-compatible keys. Imports age identities and Curve25519 OpenPGP keys from PGPony or GnuPG, and adds contacts by QR code, file, paste or share.
- Has an app lock, blocks screenshots on sensitive screens, clears the clipboard after a minute, and offers a launcher disguise.
- Comes in English, German, Spanish, French, Brazilian Portuguese, Russian and Simplified Chinese, switchable inside the app, with a welcome tour that lets you hide your first message from inside it.
- No network permission.
- Send what you hide as a file or document attachment. A messenger's photo mode (WhatsApp, Signal, Telegram) recompresses the picture and destroys what's hidden.
- Hiding lowers the odds of being noticed; it doesn't make them zero. StegPony can't protect you from someone who has the original photo, from a forensic examination of your unlocked phone, or from anyone who sees whom you send images to and when.
- Hardware keys need a Curve25519 (cv25519) decryption key. RSA keys can't be used. A Nitrokey 3 offers OpenPGP over USB only.
- The translations were made and cross-checked by machine. If a sentence reads wrong, or says something weaker or stronger than the English, please report it.
- On Android 12 and earlier, changing the language redraws the screen once. On Android 11 and earlier, pressing Back on the result page closes the app, and a result that wasn't saved or shared is lost.
- Installs over any release candidate from RC2 on and keeps your keys and contacts. Anything hidden with RC2 or later opens here.
- Built reproducibly on Linux and signed with the StegPony release key.
F-Droid
F-Droid is coming. StegPony builds reproducibly, so the F-Droid version will be signed with the same key as this APK, and either one can update the other.
Check your download
SHA-256 of StegPony-1.0.0.apk
9edc214d29372661f9d6b0e30c02eda3afb9352b5993adb298b9cd9f3ecf93b9
APK signing certificate, SHA-256
5f1a484df08945fff27451d5a55a070714ad4e8ef61f4c1ab8846fcfaab6be82
The signature is made with the NorseHorse release key, fingerprint A0CB C8F6 5AAC E56F 1C5B 7677 53F9 798E 4919 DE62. The commands are on the release candidates page.