Skip to content
ARCA

Security

How Does Photo Vault Encryption Actually Work?

A photo vault turns your pictures into unreadable scramble that only your PIN can undo. Here's the actual chain, from your PIN to a stretched key to the cipher that locks each photo, in plain language.

The Arca team 9 min read

A photo vault turns each picture into unreadable scramble that only your PIN can undo. Your PIN is stretched into a strong key, that key encrypts every photo with AES-256, and the encrypted result sits in the app’s own locked container. Without the right PIN, there’s nothing readable to find, even for the app’s maker.

What a photo vault is actually trying to do

Before the mechanics, it helps to be clear about the goal, because it’s narrower and more precise than “keep photos safe.” A photo vault is trying to store your pictures in a form that only you can turn back into pictures. Not the person holding your phone, not the company that made the app, not anyone who copies the files off the device: only someone who can supply your secret.

That framing matters because it rules out approaches that merely hide photos. Moving pictures into a folder, or putting a lock screen in front of an app, keeps casual eyes away, but the files themselves are still ordinary, readable images. A vault’s job is different: it makes the stored files genuinely unreadable, so that even full access to the raw data reveals nothing without your PIN. Everything below is in service of that one property.

The tool that achieves it is encryption, which scrambles data using a key so that only someone with the key can unscramble it. The interesting part, and the part most people never see, is how a short PIN you can remember becomes a key strong enough to make that scramble unbreakable.

The encryption chain, step by step

Under the hood, a good photo vault runs a small chain of steps, each with a specific job. Here’s the whole thing at a glance before we walk through it.

StepWhat happensWhy it matters
Your PINYou enter a secret only you knowThe root of the whole system; nothing works without it
Key derivationThe PIN is stretched into a strong key (Argon2id)Turns a short, guessable PIN into a hard-to-attack key
EncryptionThat key scrambles each photo (AES-256-GCM)Makes the stored file unreadable and tamper-evident
StorageThe scrambled result is kept in the app’s own containerKeeps encrypted photos out of the normal Photos library

Each link depends on the one before it. The PIN feeds the key derivation, the derived key drives the encryption, and the encrypted output is what gets stored. Break the chain at any point and the security falls apart, which is why the details of each step are worth understanding.

Your PIN, and why it isn’t the key

It’s tempting to think your PIN is the encryption key, but it isn’t, and it shouldn’t be. A PIN is short and often guessable, and using it directly as a key would make the whole vault only as strong as a four- or six-digit number, which a computer could try every combination of quickly. So the vault never uses your PIN as the key directly.

Instead, it runs the PIN through a key-derivation function, and this is where a lot of the real security lives. A good vault uses Argon2id, a modern function designed to be deliberately slow and memory-hungry. That sounds like a flaw, but it’s the point: every attempt to turn a PIN into a key costs real time and memory, so an attacker trying to guess your PIN can only test a trickle of guesses instead of billions per second. A random ingredient called a salt is mixed in too, which stops attackers from using precomputed tables of common PINs. The output is a full-length key that looks nothing like your PIN.

So the honest picture is that your PIN doesn’t protect your photos on its own; the key-derivation step is what makes a memorable secret hard to attack. It’s also why a non-obvious PIN matters, since the function slows guessing down but can’t rescue a code like 1234.

Scrambling the photos: AES-256-GCM

With a strong key in hand, the vault encrypts each photo using a cipher. The standard choice is AES-256, the same algorithm trusted by governments and banks, and there’s no known practical way to break it directly, a point we unpack in what “military-grade encryption” really means. When people describe a vault as using AES-256, this is the piece they’re referring to.

The “GCM” part is worth a mention, because it adds something beyond secrecy. GCM is an authenticated mode, which means it doesn’t only scramble the photo; it also attaches a tag that lets the vault detect if the encrypted data has been altered. So if someone tampered with the stored file, the vault would notice on decryption rather than handing back a corrupted or manipulated image. In practice, AES-256-GCM gives you two guarantees at once: the photo stays secret, and you’d know if it had been messed with. The result of this step is a block of ciphertext that is meaningless without the exact key from the previous step.

Where the encrypted photos live

Encryption is only half the design; the other half is where the scrambled files end up. A good vault stores them in its own private container, separate from the normal Photos library, so they don’t appear in your camera roll, in app photo pickers, or in the places apps usually look for images. They exist only as encrypted data inside the vault.

The bigger question is whether that data ever leaves your device. In an on-device vault, it doesn’t: there’s no server holding a copy and no account syncing it anywhere, so the only place your encrypted photos exist is the phone in your hand. That shrinks the attack surface dramatically, because there’s no central database to breach and nothing for a company to be compelled to hand over. This is a different trade from cloud-based encryption, which we compare in on-device vs cloud encryption for photos, and it’s closely tied to the idea of zero-knowledge encryption, where the provider genuinely cannot read what it stores.

What encryption can and can’t protect

Strong encryption is powerful, but it isn’t magic, and an honest account has to name its limits. Encryption protects the confidentiality of the stored files, and that’s a lot, but it leaves several things untouched:

  • A weak or shared PIN. The math is strong, but if your PIN is 1234 or someone watches you type it, none of the encryption helps. The secret is only as good as your choice of it and your care with it.
  • The originals you didn’t delete. A vault protects the copy inside it. If you move a photo in but leave the original in your camera roll, that original is still an ordinary, readable image.
  • Being compelled to unlock. Encryption stops guessing, not coercion. If you’re forced to enter your PIN, the vault opens like normal.
  • Loss of the photos. A true on-device vault has no server, so if you lose the phone or forget the PIN, there’s no recovery. It’s not a backup, and it shouldn’t be your only copy of anything irreplaceable.

None of these are flaws in the encryption; they’re the boundary of what encryption is for. Knowing where that boundary sits is what lets you use a vault sensibly rather than over-trust it.

Here’s a principle worth internalizing: when private photos leak, it’s almost never because someone broke the encryption. AES-256 isn’t the door attackers pick, they walk around it. They guess a weak PIN, they grab the photo before it’s encrypted or after it’s decrypted on screen, they find the original you left in the camera roll, or they simply pressure you to unlock. That’s why a vault’s cipher name, impressive as it sounds, tells you surprisingly little on its own. A strong cipher is necessary but nowhere near sufficient; the security you actually get depends on the whole chain, from how your PIN is stretched to where the files live to the choices you make. Judge a vault by the weakest link in that chain, not by the biggest number in its marketing.

What good vault encryption looks like

If you’re weighing up a vault, a few concrete traits separate real protection from marketing. Look for these:

  • On-device, with nothing uploaded. The encrypted photos should live only on your phone, with no server holding a copy and no account required to open them.
  • A real key-derivation function. A serious vault stretches your PIN with something like Argon2id, scrypt, or PBKDF2 at high iterations, not a quick single hash that’s cheap to brute-force.
  • A standard cipher, honestly described. AES-256, ideally in an authenticated mode like GCM, applied to each file, is what you want; vague or exotic claims are a warning sign.
  • Transparency about the limits. A trustworthy vault explains plainly what it does and doesn’t protect, rather than promising the impossible.

None of these require you to read source code. They’re simply the questions worth asking before you trust an app with the photos that matter most.

How Arca puts it together

Arca follows exactly the chain above, and it’s worth seeing it end to end. When you move a photo into the vault, your PIN is stretched into a key using Argon2id, that key encrypts the photo with AES-256-GCM, and the encrypted result is stored in the app’s own container, separate from your Photos library. There’s no server and no account, so nothing is ever uploaded and the only copy of your encrypted photos is on your device.

That design gives you the confidentiality encryption is meant to provide, with the smallest possible attack surface, and Arca adds a decoy vault for the specific case where you might be pressured to unlock. To stay honest about the limits already listed: the vault only protects what you move into it, you have to delete the originals from your camera roll, and because there’s no cloud copy, it isn’t a backup. Within those bounds, the whole point is simple: your private photos become unreadable to everyone but you, and stay that way even if the phone leaves your hands. You can read more about the model on our security page.

Get Arca on the App Store to keep your private photos encrypted on your device, readable only with your PIN and stored nowhere else.

Frequently asked questions

How does a photo vault keep my photos private? +

It encrypts each photo with a key that only exists when you enter your PIN. Without that key, the stored file is just unreadable scramble, so a thief, the app maker, or anyone who copies the data sees nothing usable. Your PIN is first stretched into a strong key, that key encrypts the photos, and the encrypted result is kept in the app's own locked storage. Enter the right PIN and the process reverses; enter the wrong one and there's nothing to see.

Is AES-256 strong enough to protect my photos? +

The cipher itself is not the weak point. AES-256 is a standard, extremely strong encryption algorithm with no practical way to break it directly, which is why governments and banks rely on it. The realistic weak spot is your PIN, because if it's short or guessable, an attacker can try to guess it rather than attack the math. That's exactly why good vaults stretch your PIN through a slow key-derivation function and why choosing a non-obvious PIN matters more than the cipher's name.

Can the app maker or a hacker read my vault photos? +

In a well-built on-device vault, no. The key is derived from your PIN and never leaves your device, and there's no server holding a readable copy of your photos, so there's nothing for the company to hand over and nothing central for a hacker to breach. The important caveat is that this depends on the app genuinely being on-device with no hidden upload, which is why it's worth understanding the model before you trust it.

#photo vault encryption #how encryption works #AES-256 #iphone privacy #photo security

Your photos. Truly private.

Download Arca and lock your first photos away in under a minute. No account, no cloud, no one but you.

Free to download · iPhone · iOS 18+