Security

How Private Vault keeps your files private.

Everything is encrypted on your iPhone with Apple’s CryptoKit. No third-party crypto, no server of ours, no way for us to open a vault.

Keys come from your pattern

When you draw a pattern, the app runs PBKDF2-HMAC-SHA512 with 600,000 rounds over it, salted with 32 random bytes kept in the iOS Keychain on this device only (never in iCloud Keychain or device backups). The result never touches the disk. From it, the app derives two values with HKDF: one names the vault’s encrypted index file, the other decrypts it.

Because the file name itself comes from the pattern, the app cannot tell which pattern belongs to which vault, or list them. A pattern without a vault simply opens an empty one.

Every file has its own key

Each vault holds a random 256-bit master key inside its encrypted index. Every photo, video, document and thumbnail gets its own key, derived from the master key and a random per-file salt. Files are split into 1 MB chunks, each sealed with AES-256-GCM. The chunk number and an end-of-file flag are authenticated too, so chunks can’t be reordered, swapped or cut off without detection.

Chunks also let videos stream: the player decrypts only the part it needs, in memory, without writing a decrypted copy.

Changing your pattern re-encrypts only the small index. Your files stay as they are.

Recovery phrase

Each vault gets a 9-word phrase from the BIP-39 word list (about 99 bits of entropy), stretched with 800,000 PBKDF2 rounds. It opens a separate encrypted envelope that leads to the vault, so you can recover access, or restore from iCloud on a new device, without the pattern.

On the device

Encrypted iCloud backup

Off until you turn it on, per vault. The app uploads the already-encrypted files byte for byte to your own iCloud (CloudKit private database), plus an index encrypted under a separate key. Record names are HMACs, so even the names reveal nothing. Restoring requires the recovery phrase; your pattern is never used for iCloud.

Sharing

Each share gets a brand-new key. Files are re-encrypted under it, so the person you share with never receives your vault’s key. The key is wrapped with a one-time 9-word phrase (600,000 PBKDF2 rounds). The share link puts that phrase after the “#”, a part browsers never send to a server. Revoking a share deletes its copy; expiry and open limits are checked every time it is opened.

Emergency pattern

Mark a vault as your emergency vault. Drawing its pattern opens it as usual and deletes the other vaults’ files, indexes and recovery data from the device, with nothing on screen to show it happened. Encrypted iCloud backups stay, so the removed vaults can be restored with their recovery phrases.

What we don’t do

Limits, honestly

Encryption protects files at rest. It can’t protect a vault that is open while someone else holds the phone, and it can’t hide that the app is installed. A forensic image of the device can show that the app contains encrypted data. A 5×5 pattern is easier to guess than a long password; the device-bound salt and slow key derivation are there to make guessing expensive, and an unlocked, jailbroken device is still outside what any app can defend.

Privacy means privacy.

Free to start. No account. Nothing to opt out of.