Hedgehog Bits
A private, encrypted vault for iPhone, hidden behind a set of calm brain games.
The problem
Most “secret vault” apps make two promises they can’t fully keep. They say the data is private, then send it to their own servers. They say the app is hidden, then open on a screen that obviously guards something. Hedgehog Bits had to do both properly: real encryption with nothing leaving the phone in readable form, and an app that gives nothing away to someone looking over your shoulder.
What we built
The app opens on a line-art hedgehog and one question: “Who is playing?” Type the vault password and the vault opens. Type anything else and the app greets you by that name and offers ten brain games: Gaps, Tap Rush, Rule Swipe, Pairs, Stop Line, Six Letters, Quick Sums, Echo, In Order and Reflex.
Inside the vault:
- Photos, videos, notes and files in folders, from the photo library, the in-app camera, the Files app, or the document scanner, which turns scanned pages into a single PDF without touching the photo library.
- Streaming playback. Video and audio are decrypted in byte ranges as they play, so nothing is ever written to disk unencrypted.
- A decoy vault. A second password opens a separate vault to hand over under pressure, and nothing on screen sets it apart from the real one.
- Optional sync through the user’s own private iCloud or a folder they pick, with conflict handling for items edited on two devices. Only ciphertext leaves the phone.
- Encrypted backups as one
.hhbitsfile, restored all-or-nothing on a new iPhone.
How it is secured
- The password is stretched with Argon2id (libsodium, 256 MiB, 3 passes) and unwraps a random 256-bit master key, so changing the password never re-encrypts the vault.
- Every file, thumbnail and folder index has its own derived key. Content is encrypted with AES-256-GCM in 1 MiB chunks, and each chunk is authenticated with its position, so tampering, reordering and truncation are all detected.
- Real and decoy vaults share fixed-size key slots and one storage folder, with random-looking file names and padded indexes, so a copy of the phone’s storage doesn’t reveal how many vaults there are.
- No accounts, analytics, advertising or password recovery. If the password is lost, nobody can open the vault, glabCompute included.
Business model
The games are free and never mention a vault or a price. The vault holds 25 items for free, and Hedgehog Bits Plus removes the limit and adds the decoy vault and sync, as a one-off purchase or a yearly subscription. Purchases are verified on the phone with StoreKit 2, still with no server. Items already in the vault can always be opened and exported, even if a subscription lapses.
Result
A shipped iPhone app for iOS 26 and later that works fully offline, with its own website, App Store listing and privacy label of “Data Not Collected”. The encryption and storage code lives in its own Swift package, kept separate from the interface so it can be tested on its own, and the project has over 230 automated tests across the two.
Built with
Need something similar? Start a project.