A decoy vault is a second set of ordinary photos you can open instead of your real ones. Whether it protects you comes down to one thing: whether the app keeps any record that a second vault exists. A "fake PIN" built as a switch means the app knows both codes and decides what to show, and what an app knows, someone examining the phone may be able to find. A vault where the code is the encryption key has nothing to switch, and nothing to find.
This guide explains the difference, what plausible deniability can realistically do, and where it stops.
The problem a decoy is meant to solve
Most phone security is built for a stranger who steals your phone. Encryption and a good screen lock handle that well.
A different problem is someone standing next to you who can make you open it. A partner who already knows your PIN and won't take no for an answer. Someone who has taken your phone and wants to see inside. Here a stronger lock doesn't help, because you're the one opening it. Deniability tries to make the act of opening less useful: you comply, they see something real, and the rest stays out of reach.
Officials are a different situation. A border officer or the police are not who a second vault is for, and misleading an official can itself be a crime; the border crossing checklist covers what to do instead.
That only works if the thing you show is believable and the thing you don't show is undetectable. Both halves matter.
How a fake-PIN switch works
Decoy modes show up in several popular vault apps. Keepsafe's Decoy Vault, part of its Premium tier, creates a second gallery that opens with a different PIN. LockMyPix offers a Fake Vault with a separate code in its Premium tier.
The straightforward way to build this is a switch. When you type a code, the app compares it with the codes it stored and decides which gallery to show. Nothing about that is wrong. But the decision has to live somewhere: stored codes or their hashes, a setting that says a decoy is enabled, separate folders or databases for each gallery.
Whether a particular app works this way, and whether it exposes any of that, depends on how it's built, and you usually can't tell from the outside. What's known about the category isn't encouraging. In a 2022 security analysis of 20 popular vault apps, researchers found that most didn't configure their disguises well enough to hide that the app existed. Using basic developer tools and no root access, they retrieved hidden files from 15 of the 20 apps, and for 7 apps they could read the PIN and recovery email in plaintext. The study tested 2022 versions, and apps change, so treat it as a picture of the category rather than a verdict on any one app today.
The general rule is simple. If an app knows that a second vault exists, assume a determined person examining the phone could learn it too.
How a pattern-as-key design differs
There's another way to build this, where the code isn't checked against anything.
Instead of comparing your code with a stored one, the app runs whatever you enter through a key-derivation function and uses the result as the encryption key. A different code produces a different key. That key either decrypts some files or decrypts nothing.
Three things follow:
- There's no list of vaults. Nothing records which codes have been used, how many vaults there are, or which one is "real."
- There's no wrong code. A code that has never been used isn't rejected. It opens an empty vault, because its key decrypts nothing.
- Every vault looks the same from outside. If an empty vault opens at the same speed as a full one, a person watching learns nothing from timing either.
This is the same idea behind VeraCrypt's hidden volumes for disks, where one password opens an outer volume and another opens a hidden one inside it. Because free space in a VeraCrypt volume is filled with random data, VeraCrypt says it "should be impossible to prove whether there is a hidden volume within it or not," provided its precautions are followed.
What deniability can do
- Give you something real to show. A second vault with ordinary photos is a genuine vault, not a screen pretending to be one.
- Make "is there another vault?" unanswerable from the phone itself. With no index and no error message, the app can't tell anyone, because it doesn't know.
- Take away the reason to keep pushing. If nothing on the phone can show there's more to find, there's less to gain from pressing you.
What it can't do
Being honest about the limits is what makes the rest credible.
- It doesn't hide how much encrypted data there is. Someone who takes a forensic image of the phone can see the total size of the encrypted files. If your decoy holds 30 photos and the encrypted data adds up to 4 GB, that's a question you may be asked. VeraCrypt gives a similar warning: someone who examines a volume at several points in time can see which areas changed, and failing to explain that may indicate a hidden volume.
- It doesn't make a thin decoy believable. A vault with three photos and no history looks like a decoy to anyone who has used a phone. VeraCrypt tells people who use its decoy operating system to use it as often as they use the computer. The same logic applies here.
- It doesn't hide that the app exists. For that, use Android's Private Space or Samsung's Secure Folder.
- It doesn't stop coercion. Deniability makes coercion pointless, not impossible. The person in front of you may simply not believe you.
- It doesn't change the law. Compelled disclosure is a legal question, not a technical one. In the US, 18 U.S.C. § 1001 makes it a crime to knowingly make a materially false statement to federal officials, or to conceal a material fact by a trick, scheme or device. The EFF's border guide specifically recommends against hidden-volume tools at the US border, warning that agents could view deliberately hiding data as illegal. In the UK, a court upheld a conviction for refusing to give a phone PIN during a port examination under the Terrorism Act. None of this is legal advice, and the rules differ by country.
- It can't protect a compromised phone. If the phone is rooted or infected with spyware, no app can keep secrets from whoever controls it.
If your concern is a border crossing in particular, carrying less data is usually the better plan. Phone privacy at border crossings has a checklist.
Making a second vault believable
If you decide a second vault suits your situation, these habits help:
- Use real, ordinary photos. Pets, food, screenshots of recipes, pictures of your street. Things people genuinely keep.
- Make it lived in. Photos from many different days look like a life. A batch from one afternoon looks like a setup.
- Keep adding to it. A vault that stopped changing two years ago tells its own story.
- Open it now and then. It should feel familiar in your hands, not like something you're seeing for the first time.
- Never write your real code down near the phone. A note in your wallet undoes everything above.
How Cachette handles it
Cachette uses the pattern-as-key design. The pattern you draw on a 5×5 grid, at least 6 dots, goes through Argon2id (128 MiB of memory, 3 passes, 4 lanes) and is combined with a pepper key held in your phone's hardware keystore, StrongBox when the phone has it and the TEE otherwise. Files are encrypted with AES-256-GCM, each under its own random key, with random file names and padded sizes.
Every pattern opens its own vault. There's no list of vaults and no wrong-pattern error. A pattern that has never been used opens an empty vault after the same one-second wait as a real one. So if someone forces you to unlock, you can open a second vault of ordinary photos, and nobody can prove another one exists. Setup walks you through building that second vault, because a decoy is only as good as what's in it.
The limits above apply to Cachette too. It hides which vaults exist, not the total amount of encrypted data. It can't reach copies that a cloud gallery already synced. A rooted or infected phone defeats it like any other app. And nobody can reset a forgotten pattern, not even from a backup, because restoring takes the 24-word phrase and the pattern. The encrypted backup covers a lost, broken or reset phone.
Read how it works for the full design. Cachette is free to start, with Cachette Pro as one optional payment, on Google Play.