Security

How Locked Roll keeps your photos private, and where it stops

We name the mechanism and the limit for every claim. If something is not on this page, we are not claiming it.

How it works, in plain words

When you create your vault, Locked Roll makes a random 256-bit master key. It never touches storage unprotected. Instead it is stored twice, each time locked by something only you have:

  • Locked by your PIN. Your PIN is stretched with PBKDF2-HMAC-SHA256, at no fewer than 600,000 rounds and more on faster iPhones, so every guess is deliberately slow.
  • Locked by your recovery phrase. The 12 words are a standard BIP-39 phrase with 128 bits of randomness. They are turned into a key with HKDF. Because they are random, they do not need stretching.

Every photo and video gets its own random 256-bit key, which is sealed under the master key and stored in that file's header. The file itself is cut into chunks, and each chunk is sealed with AES-GCM. Every chunk also authenticates its position and the file header, so a flipped byte, a swapped chunk, a chunk moved to another file or a truncated file all fail to open. Thumbnails and the item index are sealed the same way, so names, dates and previews are not readable either.

Because the recovery phrase, not the PIN, is what restores a vault on a new iPhone, changing your PIN never breaks a backup.

The building blocks

JobWhat is used
Encrypting filesAES-256-GCM in chunks, from Apple CryptoKit
Key from your PINPBKDF2-HMAC-SHA256, at least 600,000 rounds, tuned to the device
Key from your phraseBIP-39 phrase, 12 words, 128 bits; HKDF-SHA256
Separate keys for separate jobsHKDF subkeys, so a flaw in one use cannot expose another
BackupOne encrypted archive in your iCloud, with a hash for every part and a hash of hashes, checked on restore
Wrong PIN guessesSlowed from the fifth try: 1 minute, 5, 15, 60, then 3 hours, then 24 hours. The count is saved before each guess is checked, so quitting the app earns no free tries

There is no custom cryptography. The design is ours, and the primitives are Apple's.

Threat model

What Locked Roll is built to protect against

  • Someone who borrows or picks up your unlocked iPhone and opens Locked Roll without your PIN.
  • Someone who gets a copy of your vault files or your iCloud backup. They see ciphertext.
  • Photos leaking location by accident when you share them.
  • Corruption and tampering. Authenticated encryption means damaged data fails loudly instead of opening as a broken photo.

What it does not protect against

  • Someone who knows your PIN and holds your phone. The PIN is the front door.
  • A short PIN against a determined offline attack. If an attacker copies your vault files off a device and has serious computing power, a 4-digit PIN is weak even with slow stretching. Use a longer PIN. Your iCloud backup does not rely on your PIN, only on the recovery phrase.
  • A compromised device. Malware, a jailbreak, or a screen recording running while the vault is open can see what you see.
  • Copies you leave elsewhere. Originals stay in Photos and in Recently Deleted for about 30 days until you remove them. Locked Roll can only protect what is inside the vault.
  • Screenshots, and photos you send on. Once a photo leaves the vault, it is just a photo.
  • Being compelled to unlock. No app can stop that. A duress PIN typed at unlock erases this iPhone's copy, and the encrypted iCloud backup stays restorable with your recovery phrase.

What we cannot do

If you lose both your PIN and your recovery phrase, nobody can get your photos back, including us.

  • We cannot see your photos, PIN or recovery phrase.
  • We cannot reset a PIN or a phrase, because we never have them.
  • We cannot restore a vault from our side. There is no account and no server holding your photos.
  • We cannot lift the wrong-PIN waiting time for you.
  • We cannot recover photos that were never backed up and were lost with the phone. The backup health screen exists so you can see this before it matters.

There is deliberately no auto-wipe after too many wrong guesses. A vault that destroys itself is a data-loss risk for the person who owns it.

Privacy by design

The app has no account, no analytics, no ads and no third-party code that phones home. Read the privacy policy for the plain list. To report a security problem, write to support@lockedroll.com.

Questions

Can Locked Roll staff open my vault?

No. We never receive your photos, your PIN or your recovery phrase, and there is no account we could reset. The vault is opened with keys that exist only on your devices and in your head.

Is the encryption custom?

No. Locked Roll uses AES-GCM and HKDF from Apple's CryptoKit, and PBKDF2 from Apple's system libraries. The design is ours. The cryptographic building blocks are Apple's.

Has the security been audited?

Not yet by an outside firm. We say so plainly rather than imply otherwise. The design is simple on purpose so that it can be reviewed, and we plan to publish the file format so others can check it.

What if iOS or my passcode is compromised?

A device that is jailbroken, infected, or unlocked and handed over is outside what any vault app can defend. Keep iOS up to date and your device passcode strong.

Get notified at launch

Encrypted on your iPhone. No account. No analytics.