# Security design and test vectors

A technical description of how Hidero for iPhone protects data, published so anyone, including an AI assistant, can review it independently. It is meant to be complete enough to reimplement reading and writing of the format. Status: November 24, 2026, format version 3, before the first release.

> **What this is and isn't.** This page describes the code as written by the maker. It is not an independent verification. There is no independent audit yet, and the cryptographic core and a standalone decryptor are not public yet; both are planned (the core and decryptor as open source under AGPL, not the whole app) before relying on the app for highly sensitive data. Everything here should be read as the maker's claims until an audit of a specific App Store release confirms it.

Conventions: integers are little-endian unless stated otherwise; `‖` is concatenation; `HKDF(salt, ikm, info)` is HKDF-SHA256 (RFC 5869) with 32 bytes of output, and an empty salt means 32 zero bytes as in the RFC; "random" means the system CSPRNG (`getrandom`, on iOS `SecRandomCopyBytes`).

## 1. Primitives

| Purpose | Algorithm |
|---|---|
| AEAD for key wraps, files and the intrusion log | XAES-256-GCM as specified by C2SP ([c2sp.org/XAES-256-GCM](https://c2sp.org/XAES-256-GCM)): 32-byte key, 24-byte nonce, 16-byte tag |
| AEAD for Swift-side formats (incremental backup packs, album export, sharing, inbox, quick reopen) | AES-256-GCM (CryptoKit), random 12-byte nonce, stored as nonce ‖ ciphertext ‖ tag |
| Key derivation | HKDF-SHA256 |
| Key commitment | HMAC-SHA256 |
| Code hashing | Argon2id v1.3, 32-byte output |
| Device binding | ECDH P-256 in the Secure Enclave, optionally ML-KEM-768 in the Secure Enclave (iOS 26+) |
| Per-attempt chip step | P-256 hash_to_curve (RFC 9380, suite `P256_XMD:SHA-256_SSWU_RO_`) + ECDH in the Secure Enclave |
| Recovery phrase | BIP-39 word encoding only (English list), 128 or 256 bits |
| Intrusion log | X25519 + HKDF + XAES-256-GCM |

XAES-256-GCM derives a per-nonce key with AES-256 in counter mode per NIST SP 800-108r1 with CMAC, then runs AES-256-GCM with a 12-byte nonce. The official C2SP test vectors are part of the test suite.

## 2. HKDF labels

Every use of a key has its own label, so no key is used for two purposes.

| Label (info) | Used for | Input |
|---|---|---|
| `VAULT/v3/kek-password` | KEK of a code slot | `HKDF(salt = header.salt, ikm = Argon2id_out ‖ se_shared)` |
| `VAULT/v3/kek-recovery` | KEK of a recovery slot | `HKDF(salt = container_id, ikm = phrase entropy, 16 or 32 bytes)` |
| `VAULT/v3/se-hybrid` ‖ peer_pub ‖ mlkem_ct | device binding 2 | `se_shared = HKDF(salt = container_id, ikm = ss_ECDH ‖ ss_MLKEM)`; with binding 1, `se_shared = ss_ECDH` |
| `VAULT/v3/wrap-enc` | AEAD key of a key wrap | `HKDF(salt = empty, ikm = KEK)` |
| `VAULT/v3/wrap-commit` | commitment key of a key wrap | `HKDF(salt = empty, ikm = KEK)` |
| `VAULT/v3/file-wrap` ‖ epoch (u32) | file wrap key (FWK) | `HKDF(salt = empty, ikm = master)` |
| `VAULT/v3/file-commit` | commitment to a file key | `HKDF(salt = file_id, ikm = file_key)` |
| `VAULT/v2/inner-wrap` | keys stored in the index (log, decoy vaults, keyring, album secret) | `HKDF(salt = empty, ikm = master)`, then a v3 key wrap with the entry name as AAD |
| `VAULT/v3/album-kek` | albums with a PIN | `HKDF(salt = album salt, ikm = Argon2id(PIN) ‖ albumSecret)` |
| `VAULT/v3/intrusion-log` | intrusion log entries | `HKDF(salt = eph_pub ‖ log_pub, ikm = X25519(eph, log_pub))` |
| `Lockling/backup/v1` | incremental backup packs | `HKDF(salt = 16-byte file salt, ikm = master)` |
| `VAULT/inbox/v1` | "Save to Hidero" inbox | X9.63 KDF over X25519 |
| `VAULT/v1/yubikey-challenge` ‖ container_id | YubiKey challenge | SHA-256, used as the HMAC-SHA1 challenge |

The app was called Lockling during development, so the `Lockling/backup/v1` label and the `LocklingBackup/` folder keep that name. They are fixed domain-separation strings and file names, and changing them would break existing backups and the test vectors.

Code encodings (section 5) are numbered independently of the container version: pattern, passphrase, piano and dial keep their `v1` encodings and emoji uses `v3`. That is why the `argon2id` test vector starts with `VAULT/v1/pattern5` in format v3.

## 3. Container header

The file `vault.hdr`, version 3, is 2,905 bytes.

| Offset | Length | Field |
|---|---|---|
| 0 | 4 | magic `VLTH` |
| 4 | 2 | version, u16 = 3 |
| 6 | 1 | `aead_id` = 3 (XAES-256-GCM with commitment) |
| 7 | 1 | `bind_id` = 1 (Secure Enclave P-256) or 2 (P-256 + ML-KEM-768) |
| 8 | 16 | `container_id`, random and fixed; bytes 0 to 24 are the FIXED part |
| 24 | 1 | `kdf_id` = 1 (Argon2id v1.3) |
| 25 | 3 | reserved, zero |
| 28 | 12 | Argon2id `m_kib`, `t`, `p` (3 × u32) |
| 40 | 16 | Argon2id salt (one run per attempt, for all slots) |
| 56 | 65 | `peer_pub`, P-256 uncompressed (0x04 ‖ X ‖ Y) |
| 121 | 32 | `log_pub`, X25519 public key of the intrusion log |
| 153 | 1088 | ML-KEM-768 ciphertext with binding 2, otherwise random bytes; bytes 0 to 1241 are the SHARED part |
| 1241 | 8 × 104 | code slots `pw[0..7]`: master key wrapped by a code, AAD = SHARED ‖ `"pw"` ‖ i (1 byte) |
| 2073 | 8 × 104 | recovery slots `rec[0..7]`: master key wrapped by the phrase, AAD = FIXED ‖ `"rec"` ‖ i (1 byte) |

Unused slots are 104 random bytes and can't be told apart from used ones. Unlocking tries all eight slots without stopping early, and the main vault sits in a random slot. Lower bounds enforced on read: `m_kib` ≥ 19456, `t` ≥ 2, `1 ≤ p ≤ 8`, otherwise the header is rejected; an unknown version, `aead_id`, `bind_id` or `kdf_id` is rejected too. Version 2 was a pre-release tester format (four 72-byte slots, 729 bytes) that the app only reads and converts.

### Key wrap (104 bytes)

```
k_enc  = HKDF(empty, KEK, "VAULT/v3/wrap-enc")
k_com  = HKDF(empty, KEK, "VAULT/v3/wrap-commit")
commit = HMAC-SHA256(k_com, nonce ‖ aad)
wrap   = nonce (24, random) ‖ XAES-256-GCM(k_enc, nonce, key 32 B, aad ‖ commit) (48) ‖ commit (32)
```

Unwrapping first compares the commitment in constant time, then opens the AEAD. GCM alone is not key-committing; the commitment means one ciphertext can't be opened under two keys (main vs. decoy vault, forged backup). It covers only the nonce and AAD, so an unused random slot still looks like a used one.

## 4. Unlocking

### Code KEK, with a chip step for every attempt

```
s0  = encoded code (section 5)
s1  = s0 ‖ "VAULT/v1/yubikey" ‖ YubiKey response (20 B)     only when a YubiKey is enabled
P   = hash_to_curve(container_id ‖ s1)                    DST "VAULT-V3-SE-ORACLE-P256_XMD:SHA-256_SSWU_RO_"
z   = x(d_SE · P)                                         in the Secure Enclave, same key as ss_ECDH
s2  = s1 ‖ "VAULT/v3/se-oracle" ‖ z
H   = Argon2id(s2, salt, m_kib, t, p)
KEK = HKDF(salt, H ‖ se_shared, "VAULT/v3/kek-password")
```

- **Two chip secrets.** `se_shared` is the static binding secret: ECDH between the Secure Enclave key and `peer_pub`, mixed with ML-KEM-768 on iOS 26 and later. On its own it would be the same for every attempt, so someone who once extracted it could test short codes off the phone against Argon2id alone. The point `P` is therefore derived from each candidate code, and nobody knows its discrete logarithm, so `z` can only be computed by this phone's Secure Enclave, once per attempt. Guessing stays on this phone at Argon2id speed (about 0.7 s per attempt), even for someone who has `se_shared`.
- **No stored verifier.** The header has no hash of the code. The authenticated key wrap does confirm a correct code, but checking any guess needs this phone's chip twice over. Off the phone, only the recovery phrase (128 or 256 random bits) can be checked against the header.
- **Argon2id:** 16-byte random salt per container, parameters stored in the header and bound into the wrap AAD, so changing them makes unlocking fail. New vaults get 64, 128 or 256 MiB depending on device RAM, with passes calibrated to about 0.7 s (t ≥ 2, p = 1).

### Recovery KEK

`KEK_rec = HKDF(container_id, entropy, "VAULT/v3/kek-recovery")`, where the entropy is 16 bytes (12 words) or 32 bytes (24 words in Maximum mode), BIP-39 without the PBKDF2 seed. The phrase is not bound to the device, so it restores on a new phone. Its length isn't stored; the app tries the length the user enters.

### Secure Enclave access by mode

The key in the chip is created with a `SecAccessControl`, which the Secure Enclave enforces on every use; app code can't bypass or change it. The Keychain holds only the key's `dataRepresentation`, usable only by this phone's chip, in class `WhenPasscodeSetThisDeviceOnly`.

| Mode | Access control | What it means |
|---|---|---|
| Standard | `[.privateKeyUsage, .userPresence]` | Face ID or the device passcode, plus the vault code |
| Maximum | `[.privateKeyUsage, .biometryCurrentSet]` | current Face ID only, no passcode fallback; adding or removing a face invalidates the key and only the phrase opens the vault |
| Device passcode only | `[.privateKeyUsage, .devicePasscode]` | the device passcode, plus the vault code |
| Own code only (optional) | `[.privateKeyUsage]` | no system prompt; the vault code is the only barrier for someone holding the unlocked phone, and guessing still needs the chip step |

One authentication (`LAContext.evaluateAccessControl`) covers one unlock attempt, and the context is invalidated right after it. The vault code is always required, even for someone who knows the device passcode.

**Maximum mode** allows only a passphrase or an emoji code (about 60 bits when chosen at random) together with the current Face ID; the app and the core both refuse to switch to Maximum with a weaker method. The vault locks as soon as you leave the app (including the app switcher) and after 30 seconds of inactivity at most. Nothing leaves the vault: sharing, export, saving to Photos and copying are off, while encrypted backups keep working. It also uses a 24-word phrase, supports an optional YubiKey, turns quick reopen off and deletes the Secure Enclave keys after 10 failed attempts.

**Quick reopen** (Standard only, off by default): for 1 to 15 minutes after auto-lock, Face ID alone reopens the vault. The master key and slot number are sealed with AES-256-GCM under a key from ECDH between a one-time software key and a one-time chip key with `.biometryCurrentSet`. The copy is deleted on first use, on expiry, after a failed Face ID, on manual or remote lock and when the mode changes. Someone who makes the owner look at the phone in that window opens the vault without the code; the app says so.

## 5. Code encodings

The input to the code KEK is `label ‖ data length (u32) ‖ data`; for a pattern it is `label ‖ number of dots (1 byte) ‖ dots`. The app's native input and the core both check the rules.

| Method | Label | Data | Rules |
|---|---|---|---|
| Pattern 5 × 5 | `VAULT/v1/pattern5` | dot indexes 0..24 (row × 5 + column) | at least 6 dots, each once, a skipped dot is added, at least 2 changes of direction, not just the border |
| Passphrase | `VAULT/v1/passphrase` | UTF-8 in NFC | at least 6 words of 2+ letters, or 24+ characters from 3 classes |
| Emoji | `VAULT/v3/emoji1080` | indexes into a frozen set, u16 each | at least 6, at least 5 different; 1,080 symbols in 10 categories, shown in a fixed order |
| Piano | `VAULT/v1/piano24` | key indexes 0..23 | 8 notes, no well-known melodies or scales or their transpositions |
| Dial | `VAULT/v1/dial100` | pairs (number 0..99, direction 0/1) | 5 numbers, alternating direction, at least 4 different, not evenly spaced or all round numbers |
| Album PIN | `VAULT/v1/album-pin` | ASCII digits | 6 or more, not all the same or a sequence |

Short codes (pattern, dial, piano) are protected mainly by the chip: guessing works only on this phone, through the chip step and Face ID or the device passcode, and against the attempt counter. That is not enough against someone who can run code on an unlocked phone, which is why Maximum mode takes only a passphrase or emoji. The app explains this when choosing. Vectors for every encoding are in `secret_encodings`.

## 6. File container (VLTF v2)

Used for files (`blobs/<id>`), indexes (`index/<i>.vlt`) and the inside of a backup file.

| Offset | Length | Field |
|---|---|---|
| 0 | 4 | magic `VLTF` |
| 4 | 2 | version = 2 |
| 6 | 1 | `aead_id` = 3 |
| 7 | 1 | flags, bit 0 = Padmé padding (always set) |
| 8 | 16 | `file_id`, random |
| 24 | 4 | chunk size, 4 KiB to 4 MiB; the vault writes 64 KiB, backups 1 MiB |
| 28 | 4 | `key_epoch`: always 0 in the vault (hidden epoch; the reader tries the keyring and the commitment picks the right key), the real epoch in a backup |
| 32 | 104 | `file_key` wrapped with `FWK(epoch) = HKDF(empty, master, "VAULT/v3/file-wrap" ‖ epoch)`, AAD = bytes 0..32 |
| 136 | 32 | `commit = HKDF(file_id, file_key, "VAULT/v3/file-commit")` |
| 168 | 19 | STREAM nonce prefix, random |
| 187 | 1 | reserved, 0 |

- **Chunks:** STREAM over XAES-256-GCM with `file_key`. Nonce = prefix (19) ‖ chunk counter (u32, **big-endian**) ‖ last-chunk flag (1 byte). Chunk AAD = bytes 0..28 ‖ bytes 136..188, leaving out the epoch and the wrap so that rotating the master key rewrites only the header (the commitment binds the key). Every chunk is full except the last, and each is ciphertext ‖ 16-byte tag. Swapping a chunk from another file, reordering, truncation and appended chunks all fail authentication.
- **Nonce uniqueness:** every write (new file, edit, re-encryption, restore) creates a new `file_key`, `file_id` and nonce prefix, so nonces never repeat within a file and keys differ between files. Key wraps use random 24-byte nonces.
- **Length hiding:** the padded plaintext is `data ‖ zeros ‖ real length (u64)` with total length `max(padme(n + 8), 4096)`, using Padmé (Nikitin et al., PETS 2019). The reader checks `length ≤ P − 8` and that the padding is zero.
- **Indexes** are written under the fixed epoch `0x3FFFFF00` and padded to a common size class (64 KiB, then doubling), all eight at once and with the same modification time.
- **Index keys:** keys stored inside an index are v3 key wraps under `HKDF(empty, master, "VAULT/v2/inner-wrap")` with AAD `log-key`, `decoy:<slot>`, `keyring:<epoch>` or `album-secret`.

## 7. Attempts and key wipe

- The failed-attempt counter lives in the Keychain (`AfterFirstUnlockThisDeviceOnly`), not in app files, so restoring files doesn't reset it, and it isn't included in device or iCloud backups. An attempt is counted before Argon2id runs, so killing the app mid-attempt doesn't save a try. After 5 failures the delay grows up to one hour, measured with monotonic time and boot time.
- In Maximum mode (after 10 failures) or with a configured limit, the Secure Enclave keys are deleted; the vault can then only be opened with the recovery phrase.
- The counter and the key wipe are enforced by the app, not by the chip; iOS gives third-party apps no hardware attempt counter. Someone with Keychain access or code execution (jailbreak, forensic tool) can bypass them. Every attempt still costs Argon2id and the chip step on this phone, plus Face ID or the device passcode.

## 8. Recovery phrase and phrase change

- The phrase is the BIP-39 encoding of random entropy (16 or 32 bytes) with SHA-256 checksum bits and the English word list. **The phrase is the master key**: whoever has a backup and the phrase has the vault, and the app says so.
- **Changing the phrase** in Settings creates a new master key, a new phrase and new slots. The old phrase then opens nothing in the current header. The next iCloud backup can't read the old manifest, so it rebuilds the whole backup under the new key and deletes the old packs and header copy. Files are rewrapped to the new key in the background.
- **Backups saved earlier** (an exported `.vaultbackup` file, older copies outside iCloud) contain the old header: the old phrase still opens them, with the data up to that backup. The app can't delete them and says so when the phrase changes.
- An unconfirmed phrase (one the user didn't confirm at setup) is replaced at the next unlock without changing the master key.

## 9. Backups

### Backup file (VLTB v2)

`"VLTB" ‖ version u16 = 2 ‖ reserved u16 ‖ copy of the v3 header (2,905 bytes, in the clear) ‖ VLTF v2` with 1 MiB chunks, a visible epoch and the key from the main vault's master key. The content is repeated `name length u16 ‖ name (UTF-8 relative path, at most 4 parts, characters [A-Za-z0-9._-]) ‖ size u64 ‖ bytes`, ending with a name length of 0. Restore: phrase → `rec` slot of the header copy → master key → outer layer. Restore paths are validated.

### Incremental iCloud backup (`LocklingBackup/`)

- `header-<gen>.bin`: the header copy of this generation, in the clear.
- `manifest.lkm`: `"LKBM" ‖ 0x01 ‖ salt (16) ‖ AES-256-GCM (JSON)` with key `HKDF(salt, master, "Lockling/backup/v1")` and AAD = `"LKBM1"` ‖ the first 21 bytes. The JSON lists packs and files with sizes, the generation number and the SHA-256 of the header copy.
- `p-<id>.lkp`, `m-<id>.lkp`: `"LKBP" ‖ 0x01 ‖ salt (16) ‖ chunk stream` of the files one after another. Chunks are 1 MiB; each record is `length u32 BE ‖ nonce 12 ‖ ciphertext ‖ tag 16` with AAD = `"LKBP1"` ‖ pack header ‖ chunk index (u64 BE) ‖ last-chunk flag.
- **Rollback:** restore picks the newest generation whose manifest and header hash match; a generation older than the one this phone last saved triggers a warning.

### What the backup reveals and what moves

- **iCloud:** everything is encrypted on the phone before upload; Apple doesn't have the keys, whether Advanced Data Protection is on or off. Apple can see the number and approximate size of files and backup packs.
- **Device backups (iCloud or Finder):** the vault folder is excluded from backup and keys are `ThisDeviceOnly`, so moving to a new iPhone doesn't move the vault; only Hidero's own backup plus the phrase does. The vault code doesn't open a backup and can't be guessed from one, because it needs the original phone's chip.
- **One phrase and decoys:** the main vault's phrase opens the main vault, and because the main vault holds the decoy vaults' keys, it opens them too. Decoy vaults have no phrase of their own.

## 10. Data outside the vault

- **Import from Photos:** the original stays in Photos unless the user deletes it (an option at import, off by default). Deleted photos stay for 30 days in Recently Deleted and in iCloud Photos; the app shows how to empty them, because iOS doesn't let an app do it.
- **Previews, video, export:** decrypted into memory; video is streamed in 512 KiB pieces without a file on disk. Temporary files (import, export, sharing) live only in a protected folder and are deleted right after use, on every lock and at launch.
- **App switcher and screenshots:** a cover is shown when leaving the app; screenshots and screen recording show black (secure text field layer). This relies on undocumented iOS behavior and may silently stop working in a future iOS; the recording cover remains.
- **Logs and crashes:** the app doesn't log and contains no crash-reporting or analytics SDK.
- **React Native:** JavaScript never receives keys, codes, the phrase or decrypted content. Codes are entered in native views and photos are drawn by native views. JavaScript does see file names, tags, album names and note text, and its engine can't reliably wipe them from memory.
- **Memory wiping:** keys and codes in Rust are zeroized on drop, in Swift they live in unmanaged buffers wiped after use. Temporary CryptoKit objects and content handed to system views for display can't be wiped.
- **Intrusion log:** each entry is `eph_pub (32) ‖ nonce (24) ‖ XAES-256-GCM ciphertext ‖ tag (16)`, encrypted to `log_pub`, so it can be written while locked and read only after unlocking.

## 11. Decoy and emergency vaults

- Eight header slots, unused ones random; eight indexes in the same size class with the same timestamps; files don't carry a key number. Someone holding a decoy code can't tell from the data how many other vaults exist. The amount of stored data can still raise suspicion, so the app advises filling a decoy vault with ordinary photos.
- **Emergency (duress) vault:** opening it first erases all other vaults' slots in the header (their keys are gone; their data can't be opened, not even with the phrase on this phone), then deletes their files in the background. Interruption in between doesn't matter: without keys the files are unreadable and are finished off at the next unlock. Backups in iCloud or files and earlier disk images are not affected, and flash memory doesn't physically overwrite deleted blocks immediately. The app says so and warns about legal risk.
- Deniability is therefore only partial and depends on what an adversary saw earlier. Forensic verification is part of the test plan, not done yet.

## 12. Network and dependencies

- **Network:** only iCloud Drive and CloudKit for features the user turns on (backup, sync, shared vault, remote lock) and StoreKit for purchases. No own server, analytics, ads or crash reporting. URL cache and over-the-air updates are disabled.
- **Crypto core** in Rust; the app layer is Swift for native code (Secure Enclave via CryptoKit) and React Native for the UI. No cryptography runs in JavaScript. Versions are pinned exactly (`Cargo.lock`, `package-lock.json`), CI runs `cargo audit` (no findings as of November 24, 2026) and checks npm signatures.

| Crate | Version | Used for | Independent audit (per maintainers' public information, not verified by us) |
|---|---|---|---|
| `aes` | 0.8.4 | AES-256 (XAES key derivation, GCM) | as part of `aes-gcm` |
| `aes-gcm` | 0.10.3 | AES-256-GCM | NCC Group 2020 (older 0.x series), no major findings |
| `argon2` | 0.5.3 | Argon2id | no |
| `hkdf` / `hmac` / `sha2` | 0.12.4 / 0.12.1 / 0.10.9 | HKDF, HMAC, SHA-256 | no (widely used) |
| `p256` (+ `hash2curve`, `elliptic-curve`, `crypto-bigint`) | 0.14.0 (+ 0.14.0, 0.14.3, 0.7.11) | hash_to_curve for the chip step | no; used only for the deterministic map to a point, never for secret scalars |
| `x25519-dalek` | 2.0.1 | intrusion log | Quarkslab 2019 (older `curve25519-dalek`) |
| `chacha20poly1305` | 0.10.1 | reading pre-release v1/v2 formats only | NCC Group 2020 |
| `subtle` / `zeroize` / `getrandom` | 2.6.1 / 1.9.2 / 0.2.17 | constant time, wiping, CSPRNG | no |

## 13. Post-quantum

Data encryption (AES-256) is resistant to quantum computers on its own. The hybrid P-256 + ML-KEM-768 in the Secure Enclave protects only the binding of the vault key to the phone, not the content. The per-attempt chip step uses P-256 only; it limits where guessing can happen, it doesn't protect the data itself.

## 14. Known limits

- That the app is installed, how much storage it uses and the number and timestamps of encrypted files are visible to forensic analysis.
- **Guessing on the phone.** The chip step stops guessing off the phone, but someone who can run code on an unlocked phone (and, in Standard mode, knows the device passcode) can still try codes there at Argon2id speed. Short patterns, dial or piano codes don't hold up against that; a passphrase or emoji code does, which is why Maximum requires one.
- **The attempt counter is software.** The Keychain counter and the key wipe after N failures are done by the app, so code execution (jailbreak, forensic tool) bypasses them; the chip itself doesn't count the app's attempts.
- **Unaudited dependencies.** `argon2`, `p256`/`hash2curve`, `hkdf`, `hmac`, `sha2` and the whole JavaScript stack have no public independent audit. Versions are pinned and CI watches RustSec advisories.
- **Old backup files after a phrase change.** Backup files saved before the phrase was changed still open with the old phrase (with the data from that time). The iCloud backup is fully re-encrypted after the change. The app says so.
- Deniability on flash storage is only partial (wear leveling, TRIM, data volume).
- A decoy vault has no recovery phrase of its own, and changes only the main vault can make don't work in it; someone who knows the app well could infer it's a decoy.
- Album PINs protect against someone holding an unlocked phone, not against forensic analysis of an unlocked vault.
- The intrusion log can be destroyed by deleting the app; without unlocking, nobody can read or change it.
- A fully compromised phone (spyware) or OS-level access (Apple, MDM) is out of scope for any app.
- No independent audit yet; the cryptographic core and decryptor aren't public yet (planned as open source, AGPL; the rest of the app stays closed).

## 15. Test vectors

Download: [test-vectors.json](/spec/test-vectors.json). A plain-text version of this page: [spec.md](/spec.md). Byte strings are hex; `"aa x 32"` means the byte 0xaa repeated 32 times. They cover Argon2id, the Secure Enclave secret combination, the per-attempt chip step (`se_oracle`), code and recovery KEKs, the file wrap key, the 104-byte key wrap with commitment, XAES-256-GCM, Padmé, BIP-39, every code encoding, a complete v3 header and a complete VLTF v2 file. The header and file vectors are checked by a test that opens them, so a reimplementation can start from them. XAES-256-GCM is also checked against the official C2SP vectors.

```json
{
  "note": "VAULT format v3 test vectors, generated by core/examples/vectors.rs. Byte strings are hex.",
  "argon2id": { "password": "5641554c542f76312f7061747465726e350600050a0f1415", "salt": "02020202020202020202020202020202", "m_kib": 19456, "t": 2, "p": 1, "out": "abcb46fa096f9539bcb32740dae49c37869561005345393f39e4ff7ce6e3e146" },
  "se_combine": { "container_id": "0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c", "peer_pub": "0405050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505", "mlkem_ct": "0a x 1088", "ss_ecdh": "11 x 32", "ss_pq": "22 x 32", "out": "0cb2ac448d527e5255177f4d90d4b0b89b437741170e687e559b887afc516d70" },
  "kek_password_v3": { "argon_out": "argon2id.out", "se_shared": "se_combine.out", "salt": "02020202020202020202020202020202", "out": "c53cb4c2ce5fdd79447281ce62051aac2adddb751baedf1d20b82c603e6bc176" },
  "kek_recovery_v3": { "salt": "0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c", "entropy16": "33 x 16", "out16": "468ba264f2b577a98b77303a4ed3552b0f9d6945114ba7ee0040a694b55f2ffe", "entropy32": "33 x 32", "out32": "7fe35abdad15cf0fc608aead40c7cb372aa1ea888f3f3d434164b11f0637c14d" },
  "file_wrap_key_v3": { "master": "44 x 32", "epoch": 7, "out": "2643627e3e5d352d3a605168088d2dc5f793ccbe823d6be534a38adeb2372cf8" },
  "wrap_v3": { "kek": "55 x 32", "key": "66 x 32", "aad": "616164", "nonce": "77 x 24", "out": "7777777777777777777777777777777777777777777777776f7a003404492a83cbf43c0b3ff358b0bebf90e6a8149b6f5d48649823cd9f91346fa983994bc938e558e20d6e8443d7741299b7d7a60182f2f454db85b79f358b78555b83a00e28abdb1f4f9f742897" },
  "xaes_256_gcm (C2SP; same as the spec vectors in core/src/aead.rs)": { "key": "42 x 32", "nonce": "000102030405060708090a0b0c0d0e0f1011121314151617", "aad": "616164", "plaintext": "4c6f636b6c696e67", "ciphertext_tag": "a1e438ecbb2c1fc85321470630dea1b7e2b3f2744f124b3d" },
  "padme": [[0, 0], [1, 1], [9, 10], [100, 104], [1000, 1024], [4096, 4096], [65537, 67584], [5000001, 5111808], [1000000007, 1006632960]],
  "bip39": { "entropy16": "7f x 16", "words12": "legal winner thank year wave sausage worth useful legal winner thank yellow", "entropy32": "80 x 32", "words24": "letter advice cage absurd amount doctor acoustic avoid letter advice cage absurd amount doctor acoustic avoid letter advice cage absurd amount doctor acoustic bless" },
  "secret_encodings (labels are per encoding, not per container format: pattern, passphrase, piano and dial kept their v1 encodings, emoji is v3)": { "pattern_dots": "00060c0d0e09", "pattern": "5641554c542f76312f7061747465726e350600060c0d0e09", "passphrase_utf8": "6b6f6c6f207374726f6d206d6f6472c3bd20766c616b20c599656b6120686f7261", "passphrase": "5641554c542f76312f70617373706872617365210000006b6f6c6f207374726f6d206d6f6472c3bd20766c616b20c599656b6120686f7261", "emoji_indices_u16le": "030028009001090384033704", "emoji": "5641554c542f76332f656d6f6a69313038300c000000030028009001090384033704", "piano": "5641554c542f76312f7069616e6f3234080000000309010e0714020b", "dial": "5641554c542f76312f6469616c3130300a0000000c002d01070058011e00" },
  "se_oracle (spec D3)": { "container_id": "0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c", "secret": "secret_encodings.pattern", "dst": "VAULT-V3-SE-ORACLE-P256_XMD:SHA-256_SSWU_RO_", "point_sec1": "0474790d141a422c83aecfd41229ef7be7503285948f1ff514eae6d66563dd1cb34444a8722a2eeced3a8c41c852a5c65c1fcc1be70cd65d01440399714530af48", "z": "99 x 32", "secret_with_oracle": "5641554c542f76312f7061747465726e350600060c0d0e095641554c542f76332f73652d6f7261636c659999999999999999999999999999999999999999999999999999999999999999" },
  "header_v3 (open the pw slot with argon2id(se_oracle.secret_with_oracle, salt, params) and se_shared = 11 x 32, or the rec slot with the entropy)": { "se_shared": "11 x 32", "recovery_entropy": "0528d29a6c06394276c8534200be66b3", "slot": 2, "master": "602331926f2540c35e3064a6089da9f6b573f3bb0d5d014ab11855760760667a", "header": "564c5448030003010c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c01000000004c00000200000001000000694683309ab40680b40e805c0370a7840405050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505050505010d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d0d5116c5c3358c523c12df7b6344b5a19fcf98d60ede9538dc46e187df3721d824808cc066665cd00c81e93e3d8b6e136ab7eda9a0e5a2e14761e95d880ebaa1dd086c007cad2c5420dcb0b2f401a503384b1dee5171a829c4c33a3ba70f2b58a70867b30791aba5b438a2e6c123f368f165c62879b9b264ee5706df65a59a5497a5ee32b874fef696efd2482e616167a9d59056ab19b2b07b6ea5240b4e5d630884c249d2a53ae0332f263d78a55b0764f0d2b8f429d7ac83cf3513a729b8b23e0f81ac2863ff0679de223124be4a00a8f14bf43f638e321db5c9aa010002a313537dcc581f21bb58b154655696a3d3a8e1a3d0d75cb899513a99538b8db569a78c12af50c01349021a0d5f71fdc4a7fde8f1450d04683806a9b98b4ae9c51674197988f32bdcf78007a88890490bbc47edc766b24038c2c4baf1307c38878022c22ab50e4db1ca45d411d7c1cc7600f6dfc3104bef70b4b69ff41ea4abdc5da42ae9fdae639b3bbaa484400def221ec25e7ce1e19dfb3b8a9017f70d0ab15e01980430987b4fdd2443ff8e1843ada1a82f3448c82da7eab69d5a75bd0f597a0d921274a8845fd2756e58264fcc05e18a6f0c000e79845f8d8465e8146f5e3c45e9105f1a3d2cea0a6035da0953da39e209bda5b3ea4f600be986f15a91d54c895f19d6fbd4ef04c22570f222c9846a8936aa960f43dcfd595f5372c3052b8523fbcdea60406623a000891eafab31436aa3ee8c317587724c58b4912ab7e4dbcfcb60cc55594361cdebceb5e9141e627ba3a0efa0caf6de1b5ed4480f2d4fc40dfb33ed0b641e264e18d52d90c6c7f6c7bc8236e9b5ac295e6731c181f796570ee28378e7dee3bb3f7b1940ef420febb354c597b2ce1d55746568103ccc8ebe6aed7cb30ef01f1131ec0e02152428fbe9c4fa7e5bb17adee53604dc70431c1496c5fbc1ca6f9a0db79ff7535992966300e3489e2edfed010ee95b7c6b76e24cf6d2f5b965e37bf844423f7e4f91f49ab07732e5c6a9d3d350420ddf5071a68b333c56081d7fb88b2a0225cb7a9088902e8832fba822aff81eb60f7c0823feb333632365be7e9d0bc4c781c20ae161e49a9bbaebad518206085aab98ef3399e0e37b9cc9d16c8fdc2c3b5a4b14030b2f325b6843f616c11c4da1ceafdc942a0f62f86493a106a961ec65f34c06fa3dc91f3681273cce9d4272c6d548d6871b7709ea26ce1c8ea8f8ea0789ff2cc3eecadf8457bab508cb0085a5d3c1711b93421092264f5b63ed7e8748da7ab777f1163942ea58fd6bfa1f34d8f405cd03668f2c3858e1b0640ee29e486b560b47c75617416c252a9dcb942e9176eba2fa97d180efc76e40631b68b6689f45ff133d941e4ad1514a82e7c70f73a61545af8f632260c7d8abe7ee90ef689c6aaf832e156c0b2661b1cbbf5bede328aea2b109b05101c4ea7eb9ca1057cee594efff7b1f84d4f76e54e6d10969f5e7cfa68b1f624b76d79a44ebe260dbe6d195d37a91c3772986a3e2ac9ad989e7f833ad21303f5c918a4f6e1486df746444b1dcddeaa91f2b7790f5f42afd28466ff89cc7835d912444bf41fec55eadf96a08ff639d3c8cd80d407bfec257b755a51a49a0663233af80000d868835c0e0da2a64f426706b2662213637377574da0192658266a86abf1f9b5c082be385f0d00a5140a9e4eb3743d1eec4446833e688441408bc220823d46d18d74042ec45da78a1e8adc9dde74191d5fea6a9a4343701287a3c2efef1cd4c8bcf226900f235846bd21ac085d68e292ee9849f46c62c16a4d277dc6799a0451b993741fc4795abb386f90e83ad87f299e0fd97ff1ed52ab0b061be47d2714cc5554422a02365d75fa122cedd852d5e70e3ca5976f05f2ed180789655999886b2d5acdd051a7ff494d1fc4a1a142ad05c44508b97316bb5944627cc0aa51cf3c4ba62449e1ad7dccc04f46ceceeb63861311acac71a2fa85de37f67a0612ead28200360d4c3c351f7a8ab2f2b236757861d3c2399e24dbb39dd3a7e94e2061bd32ffff909ad11c0cdfca0030fcd12c7cdffb09dc6531fe3df086ff779c5cf949fa98155be42eec71fcc25b4b79010cab391f4ba62f2d3c1261fa58cb8b322a525bfd4f4b9dfbe2ee3f60ef28955e7792751cfa8f2a253d66a5d5ce78e3e3ebd5a81a80b06375b014d29b9e4564c32a0d8133b23df95efd6df571eab858c7ce8e84b4f07534f1f05dc22fbbfb98860c6e5690cc4aa8678e8489f4592e955a32867431be88a2b806a83ece1e4af3dd326899b188cfa1ac83541786538172db85daf2cfa4c82fe536e772163966a50d37f538b929f2e6ce95ad558bc08ef245c3cbe6957033f8a04e95151e1897fe32a3307dfed9d0d4c31cb471b00c4f25276f5b247fbf72e650979c72257e8cca9718cbe541dbcf0082b0e6b83a9475e8b4f473d5c83fa99a5f7e59be6f76f0b337d603a0b98f671c49ec46084bef27119d7a8b78b2a0f0010b9559c515cf65e06889dd6ab64111ba22556baaaf78741b4e5e3c6fe064c8794e732fbe015379fa139549719424a5cf93ba1c2c03ff6024c4b2751a1f7d6d56ff8fc7de4e0d2d859bd45dc7de179ebc273fb366c7dcdc7535f182c56e5c36e630bb21645ef0b6ea66f1abc5d3a9ba937a36b9346b8ae28d73ade1731fd64e11288b83070ff2aa3142b9782503fc7f34ec171d0fdfd9fc4e5141cbef1af735da3a4664add8cad0a03d421f3dbd5403128bf9352903848e2e25eee509a4526771d812890a2b29973fd04e54f2386ea5cadec4cff0da7f60a7726597c194d9d7086feabb46e509a49a3f5ad0e63ded9e0b8ea7e4110fe816028aac1cec1e94420016c961f94eb14b11c0a5b061d6c442d6e9d4d91d4463350689bb795eabdf83c5c5a006269dfe3c3f9a3530ee941803085f5a7858ec6ddeb7995914d890a60dce6390300b73b76d7e2b06191e22064adda985f561b8b3ef8b89027ec79849a0c4d56286d00e666f596819579e1ee8a369d03d4cfa335d13ef0ac6ece7ba9a0b10efad9af634dd109f90b5d65cc3484c4bdc0c62c4985ef407e4d4d0a842ea7ee2c5484a043734611c6a6106cc7be0f33513f467fea3143d8e47bb4e586fed093331c56f219c528ba6ce26f2d9a810fe14ec36099f3cc61e3a78eebc09c21c74b42086ca9de1fda873d46e40227f5b79669a7d969a55166544d5433b0a101a3f391c15a3084ffc235eed269d402973e3234f4d4af9ef829a5dc36bff6f2808d306844ff60719b14ef2df9d3a7cbfc4be88e85175f761354bb0ea828809c0988e54ac31570582a6cca1a4498b0af8b887cc6a659f7efa36c6daa43f504b1d061afe66b3403d335577f4d6ae4572c193229f6dc23fc8ead78d5bb1a8a3b02126c05b5c67713941a0062a25ad846e43e8aba3278e06901955d3a0f4178acfaec4294fb85adf040388dfc4bf9d042eb357499f8d3e218065b8b0deb95c2a6c3a1379e9e47ddc98ab02eeab97897f3633d47fd00ca05f51fef388a100c9ff3aac3c1b5b598eb66ff8d5ec3540688f600489b2f4dd4d7bc0e3c80c776f5ea9a3067c98f8df2c43f42bf46994bb8964b2d48f9004f2e3ffce8f02e196ae2ffb6b0ba1689e983f732e8acee755e8f6eb1f6a6cc00b43e58652116f374e173bdcf29b5901437763363e8089058bb7575483541948846dcedee449adab621a56993b376e688aab84e0884237b86ed11d811fc2858f22d444bf942be2e25f1037980acbe04c7a85b9c3925520f7b23593c04c28451d6040dee2f03fa3a3d6a3dc8699a7c82650fbec3fbc36c2dfcad48be4a3edeb60aeddc38d2e15175422768850b1ff4a336eb60901211de26f39aaab23e7b3bd75baeedd1efb16d3a23" },
  "file_vltf_v2 (decrypt with master = header_v3.master, epoch 1; hidden epoch 0 in the header)": { "file_id": "aa3ec8557b6a8ce8ad50818cea141302", "plaintext": "4c6f636b6c696e6720746573742066696c65", "file": "564c544602000301aa3ec8557b6a8ce8ad50818cea1413020010000000000000d1470a4f3025d4affb7334d7cb36979d508c6447cec2bbb8b37f7d78bc9e6b1650725e90c956f81438e83e01984677ad83a763832a1b36b51eb25446f7459b53751fa51bc2e98e10d4f5ebbe44f9d628eddc36b1b134c4744bd7c0768fa5bc3af0468b82b11b7fb9747884f3617250edf0134298497ecaa32c91e46806d6061dc7147a90c22f946d16f67d734a4d904c5564da5aaa8e7ecc87bb7500a066d2c22cd2469b2502c2289a119e046c3b5cf73cf56949706a6d2040bf54350ceebdadd838410295a4f49581db2782d93826ac0f2aa3f1d2d6ab1a7f178d69df87a957a004645e5b331c50d48ca52c8625618e78e7c1e1c161a8cda3c5bd9b25c9427f2b550668a4d4026864d478a321a19d0366b62d8ba789ca29964629bd3e3461670e06cf390ac46492be5a7f8a7534219fc2d4521464ccd808c306c4379573af5867ce8bb91545dd2f720ff699cbc8258b354a7810578f33f107bdd41f1b2762c47b305181d6837e014863a3fd19fa35153ceb546771007395fcd13f605983ecd0a86884327df6b89b07e6dad17faf5b33bee5d32eed11b7c09fa34e2cd37b0923675636ef4f893daa13576103c6b829eb8ef26dd003e4687e723071bde88522bb129daa42103909b4982b1d59d0ba346eff0f42bacb0ad069332f210e6813d4afb04bb5a4b5e609161b5759ed65643e53dbf92555e6c1c8118ee52d3a1d02e13c69b9b2dbbc5de45b34af36f155b2018319cba9eac791f5c8bad7222c74627aad87261409b111d27840c7d923a8631e609c1bbafd72106f7aad0875354a392147052b5b5638c2ada9f92fd1460f7f8c20a3b40f17950096b93a142d9c9f8e05a4f4362e4b6e4539bb257ad79ba0f83ad4b4ac048beade0f687baea4c182e202cd9c3bd125a7c77967d034c5cc88369fc140612aa7dcaf3af5282aea3ad286d86dbee7e90750540fc5203cfe00fd8bc6722021e98f60b66b7b30413a4aa0a774730605cb96d6d2cc3e5336d91dcdeaa871b95cfa6c6ad86ee077ed84e35201281b6b1c9254c58cee23196ee2dbf60e03540d468f4edecc846aca5bc13bbe7b5391a0218a5895b38f78d50368ced84ce1434c3a6c284e69e3654caa55dea39e6250e2b1b925de77ce9ca53145d5d8f6e80f82904a3de41570729823cdd94bc342f0a8a174d34a659fbb68348ee445c2f780740b7cc427cbc783ae5f40b63642578891b472e1cfa537117faf0917cd3b62b473fd90584223489c2aa0b0e09e5abe0d2fac1cbfc8f6d0c534764c5fedbb1d9812b854cac92dcd31f9fd1949a217432aac7af9fbf90dd2ebe4af002e54fe9d6de7ae9f30095d7ab4aba61168d709f6f20c481e04c2809dbc1dfb2053b5fb292a948baa9d9160f4d36a22d68f82cb9030c11d8423e360535c3400a65c9e289e39c35997448d1786d2f5d5cb21815ff68abb3ca25ffd634448171ab0a1841c648a1bd182ce388867f36b5fd7564360b6be66bb0d5b24708acf7e3a1f2b13cf6a851ef17f4d35322a0bc7bb6a029d9de5b34253ba4e171f3a9d45810fe9827788db755914d0d944ae28be007d9e69ae1b524de98b3ea6e4e1d1508e836e5df75ae29be8a44c5bf4bfd076ca5e4a67d6578c3da80b2da59f246803839ee9318622b2f81a4e9a60e6d6a9d06df896c3d361cec82c27419256f2a56739768730ebcbad3607f3cc8f59eabe33dab82970d75ac034d58b0ffa51a73c66b67676f5f27827d42d957fc74e9033bafd3ce82e58a0e52b8ae0dc6ca3f7e504104755529fba323dfaac316902e1ecb3ecea7106d35f5062814426389e8327a71f7a00a301952e164a314ba9875027dbf44c3f5f532302804935e85e83d2d754b7245defa59a9c3382b36c8b09ac02e1ed39b2b3b679452cb384cf353f9ffe18d18131b6def4b1cf90f32398c22306e57c554630b2ff2109d11332a2aea9a1afb3df7373f1dcd8883d496898a313929b55592633849b6bbb3770ccd8fa50f0a3591dd837f172868119fb5b36621c481a2e4a5dd6a2cd905fbf3eb08ecaf9b035e9b08c1c1b13c649774bab89d60a486274418869ae17c9634fa78586c5e28814e68c7d088c0188988e9c9ac8fa0cc5f7cd692a4f77fceafd4ecb3ba755287622f1834bf4dae38555f077cc88cca007a7b4e14736198ae97f5e5b967bc3d1893b52d0ef570e563ac591a1ffbc4298369ac81a050bec2790a86611fe118642fe47fedc704c74073c0512ba30c011ef46a669a353c46e3106572d5327a626b3ee740de552ce64eb21e9dc23ef33fa1a3d546b92dabec7c4f9f1927bdbcfaad6055cad55a535e9cd34c26b525afe2368a5870776cbf4a0c7a0989aa81e755ef2d9c188cf8856387d18523b29dc98f2772a4b668de4900a41f2bb0d78954772c15c042eec696d5acab6a88963f88d1c7fa60264d33a927deeebdfddbfc17eebf133287bb0924c7171b7708da7065313bd4a57244abb620f8efeb0b72595c49c36d3d4912a6e48f797639690ee61d85f25408d2fb73e5e8cbfeccb9aab2262c0871f7216e3184c8c932ee4a51a25b7ea479b2f1989ffa7e180caed21152ba683ce23b3d4ef90aad9a58e9e9986a9b2efea31bff3bdc4dfc5de728238f1480ddfe4fe3e863af7aa5b0b61ada7e27745751d9e38facce66f5fe72eb0eb3daca47d76696bbc5b017e3ea2a6a3f0ea6c37d685d5c9fb47568acba85b3c58f5c30eae4e70bf184de91d53378536d34dcc64fb2f5840ab80e42c736b2eb47fd0123937f8075d5983624af90bd5d3a79977e753d4d19858f474eaef39e87b0d1f04495eacdd1455e09520651eb41559ec78dc82279676e33dcb7e681ddedf213b073160d1c4ce88173414b863dea15ccb8fb514ae616ddf91d1886b58a31582a23b314383c389763244278187543c7573f470d63340c98eac4c1c0eefb52c6e904bec640e7557ab9ab8e284c996b43e8456ccf4aeef7820eb6e1c2eecaf3da268d00bc2f6f3c48fa976f4769b7f623d1b8160cfd81969b2ad8a1d0eb34784905ad4b14ea8776d0066db7859eba7f5f65ec8010010cc9ed08f995170cce5858dcddfe49b2f999ffdabee189c938caaf013f1c7e5f436176d3f5a2a5060d4c443fbf8bd3cd93434abb55ecfef0265953a8fff9ea8f275659b70a1614d368d82926d46064fc93cf0f9af82d68ac5e55b2d82980b0add248535ff505c97bbb59243f8da4c7bb35f6790387ecce7fac68e1e30208f601c12a3ccbe1a13aa2f393936dccc7a1343008e67f91e4bb7ad44095ccc6ccad14487995fb4119e41de3c4b25e1887e39f7a55502ee396b12ccc83be84047df288abfbe1158d25d23020bb464e343f9a97e6f8f71177681bc0619e5c5042f9a8a13e48d1e9be66b3ba1974ae5571f9b8157197fc8f39c9bde32eebb40cf1fb31c04c43c79b4ff3386a80331baa65e6be02c28e310e7a1c497e1a3bfd2084b0e707e9a28218e96dd002d7065b81b588cd38c18f137e24cbd269395fd55c0500a17b97169b562e614d3d6dfcae947dae582a11a0cb2743fbf8da0bf4a6fa91c6dfb5e6e708a7a9355970a9d3349abc8352c38a82a57756458e81ae45656ecd52103109da97c252bafef57606e979651ae8c3bbbabd2737fd3ab6fdf638f773ec8ad1fa54e3a95446a8a06edeacada747373534ed7edb7f6b3b60f106f5b1cc7ffd358a9c5e2fdad1d4f0a036211d28bda8d35079af695d61ff432009aef3e9b517506342c7ccc5f611eb615782114fc60153f1938d1fad46ee2ca0b7a226ef77792f0cbc61d65896b0c5008b35b1fef8a8c54a5e7b73649a3b7ddf4eeb63d10f53f243f879cd2950f9e4e56b37861025001d0c6d379dcb83bcc25de97512313f49b82c241308c18b1531b353eb9b56df4f58b8e70d5c06cde3296b1a96bfe74202629593aecb0afebce4991e48836aeee3ab359e8a9a70e2ddb72ddd3fd23f2ba0f7a2b26f654c8e8d01ab0e9b132f8c36204b02adb607e78321b73a2bf44fbbb6e5905de46118784306def7028087992e34fe72590bdb438049eb59ca6b140fd2da9a7b649e04a9993565e6b4d2ca489f52d1b5a854fa2105ff601a6b48782d3e9931e73f006012adc54995ffbdf3753e0bd3aadb8c87519577dfd796591613ebeff775ca4c4bb091379895e627ac322aaee32248f0dc3d073aca6a38085291f17556cf85158de9b3be892489a58033232800dc81ac510b3f90ab66eaf809dcb441fa1a8b4ccbdf7212ffad8140e1a77cc4433305d4a3a247d651e86c653ca20f0e1cdde8d7e83b005480e7a78562802f2367a9440b67529d799bba23fe0232d1e7b519e9ff435986e993b605b674e14c0ae7b91caa0a002259f660542ee73fb33ee5e50f953b1aa215fded33c579a048bac3ec698858cb7db37f9e0a846bc64b9ac21e8264862ae5262828639116dc082feaa6b33f5ec5a7e71db5d7a68e65affbcd2800e5dabdbd03bc04ca90e64036609b9f87206db31dd39d954b6fec8a7722edee6a89c73c7485bb9eec682d2a85ba8184191847a8440b86b4512d8ead525399828618452ea884b1ebbf3991fbd15d147645d79a676670d49120d1e3205dfabb77fe822beab80b2d7c807690fd49cf26b20516f1cf649b3e65aaa97edd3fc8375cf48ef6de4389376e3c59e3a6866697e8bf34d6974e90110c22d2bbcb656b81feb288eae0a434276ce297e2b12bc22ab47fe3d0393a7dd1b3d9bdfa789f1e57fa5022f74a4adcb04b061b7f744928502b414c2b354fca5961e219a83b4fd8359ac0b7a0fb35df908df83266b307a2893e424fcc5eefd32c866134329b09cfa3c1843e5357ccfb427de6ce63e646a6d9c3f47e7976741aecac11bf991a61b53117bae8115c4c50318c4e12ac537f9d527f04ca5fa98285b04975ad63eb1b1828c4992ee48dd7d5fade5eb300bffbb285772943e45edee5188bdbe091029fd3c87afdefc5860d47240589e06f63362055317d0426caff40b9a45b0052fb71c403d8fda879735f1b17ab2203ed121104c8c965c64969649cfa811f1bb3bd73743b938a16a29b837d2e7d10f7aa2109e0414aade6f19fae4fdfd904a7aa625165bf4c453c5a58119517817259cf4b74cb3b097182944422e49a07045a0b2b74bde48ed1a1b3cb03d8c421a536eec600da98217adf9044ce9eba905f90627d2575cc8855b33ac43c41c80ed6affaf50a13e04209ae44c5dac77b5cd34fa6938d109579f39211193fd8dbf1c522843db27962a65834b6c143dce37cd38b25ebb5615ad5e614d533f17de54a9000b5d65b37abfbd01db39dd9c58b511d277d4a30202320e431faa699ca5cce9b54ba6239fe1190078a635e25266edfb990a05449e217b24d9e2238ee9203c69a9cefc36d5dcad1823d57afe22444340e2830ac4a03a1d62f0cf307208a54c4746544052e7b73601bc92d62a8c5c1e360eb7c83a4014728fcb2e7339329991e9864c7de97c9e3334a98a491ed98a5124dd84031130049df8479dd256d9f80f4b47edc5e2d68657dc51a7c7d3129bb0fa02decea223f3296ed1d6ee956a4f74c2be76167019e0775d65a61ceaa3332d6a6d488f958cf67bf48660a8b6671e321903b64962c9e755f395d915fc36c6c9852affa2ee1b527c3b1b9b507914700afe1416b75f443aa1a03df99477a6af03b5f03ce013ddbf9c750c7597231525db363876a82d322658e5446fb2ccf08e1228aab4f19e501ea0663a68249f799b701444f9dba8b1f2aec1d1225de206f61404ca06401cb3ca9aff40497df11143efcdae36154508b3ed198098f13c37049c0a9db6c821745b91e0a83c760ef992beb8e0c5f399a167d1b7122234e896284909991c28eb88a860c8168a5f99ba3e7fab51f7ddd8374bdb2b2704da3b953be3af507cf5f742d5dd3fb76e62174f2c5d448d81a8b05e75f7b4ecdb08969fd4bf3e639ba6ec657ebd5bae7798031020ef9404959c0d0df0dc5a4593b73bf746e3f9b627476fe0ae27706dee851243809c5ee3bb6a409aafc1499f7b8d9c3b39823b8fb07216c6a81505e4cf4b" }
}
```

## 16. What still needs independent verification

- An audit of a specific App Store build covering the format, the iOS app and backup/restore.
- Forensic checks: temporary files, caches, app-switcher snapshots and deniability over time.
- Network silence and bundled SDKs, by traffic capture and binary inspection.
- Reproducible builds once the source is public.

Found a problem? Email [hello@hidero.app](mailto:hello@hidero.app) or see [reporting a security issue](/security).
