Drawing Encryption: How a Shape You Draw Protects Your Files
You open Vaultmira by drawing a shape, not by typing a PIN. Your iPhone turns that shape into a key, and only that key can unlock what is inside.
In Vaultmira, the path you draw across a 5×5 dot grid is run through PBKDF2-HMAC-SHA256 600,000 times with a salt to make a 256-bit drawing key. That key unlocks a random master key, and the master key seals every file, preview and file list in the vault with AES-256-GCM.
What Is Drawing Encryption?
Many vault apps put a four-digit PIN in front of your photos. Four digits allow only 10,000 combinations, and in some apps the PIN is just a gate in the app’s screens: the files behind it are not actually locked with it. Get past the gate, and the photos are sitting there.
Vaultmira has no password box at all. You draw a shape across a grid of 25 dots, and the dots you touch, in the order you touch them, become the raw material for an encryption key. That key is made fresh on your iPhone every time you draw. Your drawing is never saved, never sent anywhere, and never compared against a stored copy, because there is no stored copy.
This changes what “unlocking” means. Vaultmira is not checking whether you got the shape right and then deciding to show your files. Without the right drawing, the app simply does not have the key it would need to read them.
A PIN gate is a guard standing in front of an open box. Vaultmira’s drawing is the key to a locked box. There is no switch inside the app that skips the drawing, because the drawing itself is what makes the key.
How It Works, Step by Step
Here is what happens between your finger touching the glass and your files opening, in plain words.
Step 1: You Draw Your Shape
The draw screen shows a 5×5 grid. A drawing must connect at least 6 dots and make at least one turn. Each dot can be used once, and if your line passes straight over a dot, that dot is picked up too, the way phone pattern locks behave. When you make a vault, you draw the shape twice so a small slip does not lock you out.
The grid behaves the same in every one of the app’s 27 languages. It never flips for right-to-left scripts, so the same finger path always gives the same dots.
Step 2: The Shape Becomes a Drawing Key
The list of dots is fed into PBKDF2-HMAC-SHA256, a standard “slow on purpose” key function, for 600,000 rounds, together with a 32-byte random salt. The result is a 256-bit drawing key.
The salt is not a secret. Its job is to make your keys different from everyone else’s, so a list of guesses prepared for one person is useless against another. It is made once, kept in your iPhone’s Keychain and in your iCloud Keychain, with a copy in your private iCloud, so the same drawing opens the same vault on your new iPhone or your iPad.
Step 3: The Drawing Key Unlocks the Master Key
Each vault has its own master key: 256 random bits made the moment the vault is created. The master key is stored only in sealed form. A sub-key made from your drawing key opens that seal. The drawing key also produces the vault’s scrambled ID, which is how Vaultmira finds the right vault without keeping any list.
Step 4: The Master Key Seals Everything
The master key locks every photo, video, document and note with AES-256-GCM. It also seals the small preview pictures, the list of items with their names and dates, your folder names, the vault’s name and settings, and the vault’s backup phrase. Long videos are sealed in 4 MB pieces, each numbered inside its seal, so a piece that goes missing or is swapped fails to open.
GCM does two jobs at once: it scrambles the data and it adds a tag that proves nothing was changed. If even one bit of a sealed file is altered, it refuses to open instead of showing you damaged content.
Step 5: Leaving the App Locks It Again
The moment Vaultmira goes to the background, or you tap the lock button, the open vault is dropped and any readable copies made for viewing are deleted. Files on disk are also written with iOS’s strongest file protection, which keeps them unreadable while your iPhone itself is locked. To get back in, you draw again.
Because the master key never changes, you can change your drawing or recover with your backup phrase without re-encrypting a single photo. Only the small sealed copy of the master key is rewritten. That makes changes quick and safe, even for a vault full of videos.
The Math, in Plain Words
How Many Drawings Are There?
Even the shortest drawing Vaultmira accepts, six dots, has millions of possible paths on a 25-dot grid, and each extra dot multiplies that again. But numbers on paper are not the whole story. People tend to draw letters, squares and straight rows, and anyone guessing tries those first. The grid sets the ceiling; the shape you choose sets your real strength.
Why 600,000 Rounds?
Every single guess has to go through 600,000 rounds of HMAC-SHA256 before it can be checked. That is the level the OWASP password-storage guidance recommends for PBKDF2 with SHA-256. You barely notice it once, when you draw. Someone trying shape after shape pays it on every attempt. It makes guessing slower; it cannot turn an obvious shape into a hard one.
AES-256: A Public Standard
AES is the encryption standard published by the US National Institute of Standards and Technology, studied in the open for more than twenty years. Its strength comes from the size of the key, not from keeping the method secret. With 2256 possible keys, nobody attacks AES by trying keys; they would attack the drawing instead. That is exactly why the drawing step is made slow.
What Someone Would Have to Get Past
Guessing on Your Phone
Vaultmira never says “wrong drawing.” A shape that has no vault simply opens an empty one. Someone trying shapes never gets a “wrong” signal to learn from, and each attempt still costs the full key work.
Watching You Draw
In App Settings you can turn off Show my drawing as I draw, so the line and dots do not light up on the draw screen. Screenshots and screen recordings of Vaultmira come out black by default, so a screen capture cannot record your shape either.
Copying the Phone’s Data
We want to be straight about this one. If someone manages to copy the app’s data and the salt from an unlocked phone, they can test drawings on a computer instead of on your screen. Each guess still costs 600,000 rounds, but a short, common shape will fall far sooner than a long, unusual one. A good drawing is your best defence here.
Choosing a Good Drawing
- Go past the minimum. Six dots is the floor, not the goal. Eight to ten dots with several turns is far harder to guess and still quick to draw.
- Change direction more than once. Diagonals, zigzags and crossing your own line all help.
- Start somewhere unexpected. Corners and the top-left dot are where most people begin.
- Skip the obvious. Avoid your initials, a digit, a plain square, a straight row or an “L”.
- Practise it. Draw it a few times on the first day so your hand remembers, and save the vault’s backup phrase in case it doesn’t.
What This Means for You
Your keys are made on your iPhone, from something only you know. There is no account, no email and no Vaultmira server that holds a copy. That also means we cannot reset your drawing for you. Instead, every vault has its own backup phrase: type it, draw a new shape, and you are back in. You keep the keys, and nobody, including us, has a spare.
Frequently Asked Questions
What happens if I draw the wrong shape?
Vaultmira opens an empty vault, with no error message. Nothing is saved for that shape unless you add files and then draw the same shape once more to confirm, so a slip never creates a vault by accident.
Can Vaultmira reset my drawing if I forget it?
No. We never have your drawing or your keys, so there is nothing we could reset. On the draw screen, tap “Use backup phrase”, type that vault’s phrase and draw a new shape. Your old drawing stops working.
Can I change my drawing later?
Yes. Open the vault, go to Vault Settings and tap “Change drawing for this vault”. Draw the new shape twice. The old shape stops working, your backup phrase stays the same, and your files do not need to be encrypted again.
Will the same drawing work on a new iPhone?
Yes, if that vault’s encrypted iCloud backup is on. The salt travels with your iCloud Keychain and your private iCloud, so drawing the same shape on a new iPhone brings the vault down from your backup. Opening your vaults on an iPad as well is part of Vaultmira Pro.
Is a drawing safer than a password?
It depends on the drawing, just as a password depends on the password. A long shape with several turns is hard to guess and fast to draw. A six-dot letter is not much better than a short PIN. The difference is that in Vaultmira the drawing is the key itself, not a gate in front of readable files.
Does anyone else ever see my drawing?
No. The shape is turned into a key on your iPhone and then forgotten. It is not stored, not logged and not sent to us or to iCloud.
Try Drawing Encryption
Draw a shape, add your first photos, and they are sealed on your iPhone before they are saved. No account, no email, nothing to sign up for.
Download Vaultmira Free