A pattern on a 5×5 grid, and nowhere else
You unlock Stashio with a swipe, like your phone, only on a bigger grid. The pattern itself is the key, and it isn’t stored anywhere.
Stashio opens with a pattern of at least 8 dots on a 5×5 grid. The pattern is never saved, not even encrypted: Argon2id stretches it, a key from your phone’s secure hardware is mixed in, and only the result can unlock a vault. After 5 wrong patterns the app makes you wait, up to 30 minutes.
Why a pattern, and why a bigger grid
A pattern is fast. You draw it with one movement of the thumb, without looking for keys, and muscle memory makes it hard to forget. The weakness of the familiar 3×3 Android pattern is its size: there are only 389,112 possible patterns, and people favour a small number of shapes that start in a corner.
Stashio uses a 5×5 grid and requires at least 8 dots. That alone gives about 3.4 billion eight-dot patterns, and every extra dot multiplies the count. It still takes a second to draw.
What happens when you draw it
The pattern is not compared with a saved copy, because there is no saved copy. Instead, Stashio turns it into a key and tries that key on the vault:
- Argon2id stretches the pattern. Argon2id is a password-hashing function designed to be slow and memory-hungry on purpose: every attempt needs 64 MiB of memory and a noticeable fraction of a second. That cost doesn’t matter to you once, but it makes guessing millions of patterns impractical.
- Your phone’s hardware adds its key. The result goes through a key held in Android Keystore, in the StrongBox security chip on phones that have one. That key can’t be copied out of the phone and only works while the phone is unlocked.
- The vault key is unwrapped. If the pattern is right, the result decrypts the key of one vault and the vault opens. If not, nothing decrypts, and the app only knows the pattern was wrong.
Because of the second step, someone who copies the app’s data to a computer can’t even start guessing patterns there. Every attempt has to run on your phone, through its hardware, at the speed Argon2id allows.
Wrong patterns and waiting times
After 5 wrong patterns in a row, Stashio makes you wait before the next try: 30 seconds, then 1 minute, 5 minutes, 15 minutes and from then on 30 minutes. This is a brake for someone trying patterns on a borrowed phone. The real protection is the size of the grid and the cost of Argon2id.
One lock screen for every vault
Each vault has its own pattern. A different pattern opens a different vault, and the lock screen looks and takes the same time whichever vault the pattern opens, or if it opens none. Nothing on the screen tells anyone how many vaults exist.
What the pattern doesn’t protect against
- Someone watching you draw it. The pattern is the only secret. If you think someone saw it, change it in the vault’s settings. You can either change just the pattern, or replace the vault key so that a copy of the old data can’t be opened with the old pattern.
- Malware on an unlocked, rooted phone while the vault is open. At that moment the files are being shown, so they exist in decrypted form in memory.
If you forget it
Tap Forgot pattern? on the lock screen and enter the vault’s recovery code. You set a new pattern and your files stay as they are. Without the pattern and the code, nobody can open the vault, including us.
Frequently asked questions
Is the pattern stored on the phone?
No, not even in encrypted form. Stashio derives a key from it every time you draw it and tries that key on the vaults. There is nothing to extract or reset.
Can I use a PIN or fingerprint instead?
No. A fingerprint can be pressed onto the sensor by someone else, and a short PIN is easy to watch and guess. Stashio uses one unlock method, the pattern, so that every vault looks the same from the outside.
How long can the pattern be?
At least 8 dots, up to all 25. A longer pattern with direction changes is much harder to guess or to remember after a glance over your shoulder.
Does the phone’s own lock screen still matter?
Yes. Stashio’s hardware key only works while the phone is unlocked, and a strong phone PIN protects everything outside the vault. Treat the vault pattern as a second, separate lock.
Keep your photos where only you can open them
Stashio encrypts photos, videos and documents on your phone. No account, no server, no internet permission.
Free · Android 9 and later