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.
In short
From your pattern to a keyArgon2id · libsodium · 64 MiB · 3 · 256 bit
How files are encryptedAES-256-GCM
Recovery phrase92 bit
Security levelsTop security (Ultra) · Level 1 (recommended) · Level 2 · Level 3
Android · iOSAndroid Keystore · iOS Secure Enclave
What we collectRevenueCat 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,00010 seconds0.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

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).

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.

How files are encrypted

Recovery phrase

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

Other protections in the app

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.

AI and pattern guessing

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.

Compare lock strength

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

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

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.