How LifeVeil protects your files
This page explains what LifeVeil does, in plain words, and also what it cannot do. We would rather you know the limits than trust a promise that is too big.
- All encryption happens on your phone. There is no LifeVeil server and no account.
- Settings: 64 MiB of memory, 3 passes, 1 lane, 256-bit key.
- Files, thumbnails and the list of your items (original file names, dates, sizes) are encrypted with AES-256-GCM, using iPhone and Android's built-in encryption.
- When the app locks, it overwrites the keys it holds in memory with zeros.
- The salt is stored in the app, encrypted with a key kept in the Android Keystore, which cannot be copied off the phone.
| From your pattern to a key | Argon2id · libsodium · 64 MiB · 3 · 256 bit |
|---|---|
| How files are encrypted | AES-256-GCM |
| Recovery phrase | 92 bit |
| Security levels | Top security (Ultra) · Level 1 (recommended) · Level 2 · Level 3 |
| Android · iOS | Android Keystore · iOS Secure Enclave |
| What we collect | RevenueCat ID |
How safe is it?
Your pattern is the only key. Photos, videos and files are locked with AES-256 on your phone. This encryption stays safe in the quantum era too. The key is made only from your pattern, and it is stored neither on a server of ours nor anywhere on your phone. So neither we nor Samsung or Apple can open it without your pattern.
The only way into a vault is guessing the pattern. The encryption itself can't be broken, so all an attacker can do is try patterns one by one. That is why you decide how safe it is — the longer the pattern, and with a PIN added, the harder it gets, exponentially.
Slowing guesses down keeps it safe. Wrong patterns in a row make each next try slower. Past a number of tries, a single attempt takes minutes, so a guessing attack all but stops.
Short patterns are convenient, but weak. You can use a short pattern of just a few dots, but it is cracked that much faster. If you keep something important, we recommend a pattern of 8 dots or more plus a PIN (Top security).
Photos that were already on your phone can leave recoverable traces even after you add them and delete the originals. The safest way is to take them directly with the vault camera. Keep your phone's screen lock on, too — it keeps even those traces encrypted.
If the security chip is compromised, how long could your vault hold out?
| Lock method | Combinations | 1 graphics card | 1,000 graphics cards |
|---|---|---|---|
| Common shapes (L, Z, initials) | 10,000 | 10 seconds | 0.01 seconds |
| 6-dot pattern | 19,174,112≈ 19.2 million | ≈ 5.3 hours | ≈ 19 seconds |
| 8-dot pattern | 3,428,210,784≈ 3.43 billion | ≈ 40 days | ≈ 57 minutes |
| 10-dot pattern | 521,228,609,960≈ 521 billion | ≈ 17 years | ≈ 6 days |
| 8-dot pattern + 8-digit PIN | 342,821,078,400,000,000≈ 343 quadrillion | ≈ 11 million years | ≈ 11,000 years |
| 10-dot pattern + 8-digit PIN | 52,122,860,996,000,000,000≈ 52.1 quintillion | ≈ 1.7 billion years | ≈ 1.7 million years |
The table models a worst case for copied vault files: someone extracts the key protecting the device salt from the phone’s security chip. Extracting hardware-protected keys is very difficult, and few methods are publicly documented for recent flagship iPhone and Galaxy models.
As long as the device salt stays protected, copied vault files alone cannot be used to start offline guessing. Exported backups have their own salt and allow offline guessing.
The table shows the maximum time to try every combination at each assumed speed. For Argon2id with 64 MiB, we assume about 1,000 guesses per second on one high-end graphics card and about 1 million on 1,000 cards. Actual speeds can vary widely with the hardware.
Common shapes have no fixed total. The first row models a list of 10,000 guesses. Someone who prioritizes familiar shapes may find a match much sooner.
A 6-digit PIN has 1 million combinations. For the same pattern length, it takes one hundredth as long to try every combination as with an 8-digit PIN.
For vaults that hold your most important files, choose Top security with a long, complex pattern and an 8-digit PIN. Avoid familiar shapes and lock the vault as soon as you finish.
In short
- All encryption happens on your phone. There is no LifeVeil server and no account.
- Each vault's files are encrypted with a random key. Only that vault's pattern (with its PIN at the top level), its recovery phrase if you added one, or your fingerprint if you turned it on can unlock that key.
- Every pattern opens a vault. A pattern that matches no saved vault opens an empty one, and nothing is written until you add a file to it.
- We, the developers, never have your pattern, your PIN, your phrase or your keys. We cannot open your files, and we cannot reset your pattern.
- We use encryption built into iPhone and Android, and the well-known libsodium library. We did not write our own encryption.
- LifeVeil has not yet had an independent security audit.
From your pattern to a key
You draw a pattern on a 5×5 grid, using no dot twice. You can make a pattern with fewer than 6 dots, but the app warns you strongly first. LifeVeil turns the pattern into a key with Argon2id, from libsodium (version 1.0.20 on Android).
- Settings: 64 MiB of memory, 3 passes, 1 lane, 256-bit key.
- Argon2id is slow on purpose and needs a lot of memory for every guess. This makes guessing with graphics cards much more expensive.
- On our test phones, one unlock takes about 0.6 to 0.9 seconds.
- The pattern is mixed with a random 16-byte device salt. The salt is stored in the app, encrypted with a key kept in the Android Keystore, which cannot be copied off the phone.
- No copy of the pattern is stored, except the one kept with a recovery phrase (see below). The app checks a pattern by trying to unlock the key.
- Whatever you type in the PIN box above the dots goes into the same key derivation as the pattern. An empty box means the pattern alone.
Security levels
Each vault has one level. You choose it when you start, and you can change it later in Settings > Vault > Security level, after drawing the pattern again.
- Top security (Ultra): pattern and a PIN of 6 to 8 digits, both only in your head. Safe even against guessing with AI. If you forget either, the vault can't be recovered.
- Level 1 (recommended): pattern only. Safe if you avoid common shapes. If you forget it, the vault can't be recovered.
- Level 2: pattern and a recovery phrase written on paper. You can get back in if you forget the pattern, but whoever finds the paper can open the vault too.
- Level 3: pattern and fingerprint or face. The most convenient, but someone could force your finger onto the sensor. Fingerprint or face works for one vault only.
How files are encrypted
- Each vault has a random 256-bit master key. Your pattern key and recovery key only "wrap" (encrypt) this master key.
- Files, thumbnails and the list of your items (original file names, dates, sizes) are encrypted with AES-256-GCM, using iPhone and Android's built-in encryption. GCM also detects if a file was changed or swapped.
- Files inside the app have random names. Large files are encrypted in 1 MiB pieces, so videos play without ever writing a plain copy to storage.
- For JPEG photos, the hidden details (EXIF, such as camera and date) are stored separately, also encrypted.
- When the app locks, it overwrites the keys it holds in memory with zeros.
Recovery phrase
- A recovery phrase is optional. A vault gets one only when you choose Level 2, and it is saved after you pass a short quiz.
- The phone's secure random number generator picks 9 English words. They come from two lists of 1,024 common words, in one of 4 fixed orders. That is 92 bits of randomness. The words are English in every language of the app.
- The phrase goes through the same Argon2id settings and unlocks the master key on its own. It does not need the device salt, so it works even when the pattern no longer does.
- A copy of the phrase and a copy of the vault's pattern (and PIN) are stored on the phone, each encrypted twice: once with the master key and once with an Android Keystore key. When the phrase opens the vault, the app shows the pattern once. It is forgotten when the app locks.
- The phrase stays the same when you change the pattern. A vault without a phrase has no way back if the pattern is forgotten.
Fingerprint
Fingerprint unlock is optional and works for one vault. Android checks the fingerprint, not LifeVeil; the app never receives your fingerprint. A key in the Android Keystore that only works right after a strong biometric check unlocks the master key. If someone adds a new fingerprint to the phone, this key stops working and you must use your pattern again. On iPhone and iPad the same works with Face ID or Touch ID: the key is kept in the Keychain and stops working when the enrolled faces or fingerprints change.
Backup file
- A backup is one
.lvbfile. It holds your items exactly as they are already encrypted, plus wrapped copies of the master key: one for the pattern you drew when you made the backup, and one for the recovery phrase, if the vault had one. - The pattern copy uses a new random salt for each backup, not the device salt. That is what lets you open the backup on a new phone.
- The file's header is protected so that changes or swapped parts are detected.
- You choose where to save it with the phone's own save screen. It never goes through us. On Android the app never writes into a file that is already there; on iPhone and iPad the save screen receives the finished file.
- To restore, open the file with its pattern or its phrase. You then draw a new pattern. The restored vault starts without a recovery phrase.
Other protections in the app
- Screenshots, screen recording and the preview in the recent apps list are blocked on every screen.
- On iPhone and iPad this works differently: a screenshot cannot be blocked. The app covers its screen in the app switcher and while the screen is recorded or mirrored, and locks when a recording starts.
- By default, the app locks as soon as you leave it. You can choose 30 seconds or 1 minute instead.
- Android's own cloud backup and phone-to-phone transfer do not include LifeVeil's data. Use the backup file instead.
- The app does not ask for location, contacts or "all files" access.
- An empty vault for every new pattern. A pattern that matches no saved vault opens an empty vault that looks just like a newly saved one, so someone who forces you to open the app can't tell what else is there. This is always on.
Slowing down guessing
Because every pattern opens a vault, guessing looks like many empty vaults opening. LifeVeil slows this down. The lock screen shows Security wait and the time left, and the wait is the same for every pattern, including the right one, so it says nothing about the pattern drawn.
- Within 24 hours, 50 openings of vaults with no files add 10 seconds to every unlock, 100 add 60 seconds, 200 add 5 minutes, 350 add 30 minutes, and 500 add 6 hours, the most.
- Signs of automation go straight to the most: patterns finished less than 2 seconds apart three times in a row, or touches that come from accessibility services or injected input instead of a finger.
- Each 24 hours without an empty vault opening eases it by one step. Turning the phone's clock back does not shorten it.
- This only works inside the app. It does not slow down guessing on a computer with a copied file (see the limits below).
AI and pattern guessing
- AI can't skip the math. Every guess still has to run Argon2id with 64 MiB of memory. AI doesn't break Argon2id or AES, so no single guess gets cheaper.
- What AI changes is the order of guesses. It can learn the shapes people like (letters, squares, favourite starting corners) and try those first. It can also help read a pattern from a video taken over your shoulder, or from smudges on the screen.
- So the defences are about the pattern, not the math. The app warns about common shapes. The top security level adds a 6 to 8 digit PIN, so a pattern seen on video isn't enough. Hide pattern line leaves no line to film. The device salt in the Android Keystore stops guessing off the phone.
Limits you should know
No app can protect against everything. These are the honest limits of LifeVeil.
Simple patterns can be guessed
Short or common shapes (an L, a Z, a straight line) can be guessed by watching you, by smudges on the screen, or in a few tries. Real patterns are much easier to guess than the number of possible patterns suggests. Use more dots and more turns. The app warns you about very simple patterns, and before it saves a vault whose pattern has fewer than 6 dots.
How long guessing could take
Inside the app, each try takes about a second, and repeated guessing slows every unlock down, up to 6 hours. But someone who has your backup file, or who has taken the device salt from a rooted phone, can guess on a computer instead, with no waits. Argon2id slows this down, but a pattern has far fewer possibilities than a long password.
The recovery phrase is 92 random bits, so in practice it can't be guessed.
Keep your backup file private
The backup file does not contain the device salt, so anyone who gets it can try patterns offline, as shown above. Store it only where you alone have access, such as your own cloud account, and use a longer pattern.
The recovery phrase also shows the pattern
Whoever has a vault's recovery phrase can open that vault, and the app then shows them its pattern and PIN. If you use the same pattern anywhere else, such as your phone's screen lock, they learn that too. Keep the paper as safe as the files themselves.
Rooted or infected phones
If someone can run code with the app's permissions (for example on a rooted phone, or with malware that has full control), they can unlock the device salt and guess offline. While the vault is open, keys are in memory and can be read with root access or a debugger. Some copies made inside Android and Flutter, and photos shown on screen, cannot be wiped from memory right away.
Some information is visible
The number of encrypted files in the app's storage, their rough sizes, and when they were created or changed are not hidden. Nor is the fact that LifeVeil is installed.
The empty vault only fools the screen
Someone who can read the app's files (on a rooted phone, for example) can count the vault folders and so see how many vaults are saved. The slowdown counts saved and unsaved empty vaults alike, so the wait itself does not tell them apart.
The disguise only changes the home screen
- On iPhone only the icon changes: the name stays "LifeVeil". iOS also shows an alert once when the icon changes.
- Only the launcher icon and name change. The phone's Settings > Apps list, app info and storage screens still show LifeVeil.
- Screen readers may still say "LifeVeil". For example, the Samsung One UI launcher gives TalkBack the real app name, and the app cannot change this.
- Android's share menu always shows the real app name, so LifeVeil leaves it when you switch the icon. You can turn it back on.
- Android permission requests show the real name, so the app asks for permissions before you switch the icon.
- While the icon is changed, the app does not send notifications.
- The disguise code (4 to 8 digits) only shows the lock screen. It does not open your files. It is stored as a salted hash, but with so few possibilities it is easy to find if someone gets the file.
Fingerprint is a weaker path
Fingerprint unlock skips Argon2id. Its strength depends on your phone's fingerprint or face sensor and its secure key storage (Android Keystore, or the Keychain on iPhone). You can turn it off in Settings at any time.
Photo details
- For HEIC, PNG and WebP photos, the hidden details (EXIF) stay inside the file. The whole file is still encrypted.
- On Android 10 and later, Android removes the GPS location from photos that LifeVeil reads, because the app does not ask for location access. When the original is deleted from the gallery, that location is gone.
- Photos added through Android's photo picker get new names based on the date, because the picker does not give the original name.
Locking while a system screen is open
When you leave the app, it locks by your auto-lock setting even if a system screen it opened (a photo or file picker, a save screen) is still up, and it closes that screen. On Android the app cannot tell a picker from the home screen, so behind a picker it stays open for at most 1 minute (30 seconds if auto-lock is set to 30 seconds), and it locks at once when the screen turns off.
Vaults share one device salt
All vaults on a phone use the same device salt. If someone has that salt, one guess tests every vault at once. The cost to attack a single vault is the same.
Things no app can stop
Someone watching you draw your pattern, or a camera filming your screen.
Without a phrase, no one can help
If you forget the pattern of a vault that has no recovery phrase, or you lose both the pattern and the phrase, no one can recover its files. Not even us.
