SECURITY

How CryptArx protects your files.

One credential to open, a random master key per vault and a dedicated key for every file.

Access

Your credential selects and opens the matching vault. The app keeps the vault list encrypted and makes rate-limited attempts expensive on two levels.

Argon2id with 256 MiB
Every derivation requires 256 MiB of memory. The internal magnitude is about 0.25 seconds per derivation. The actual duration depends on the device and implementation. A strong credential remains important.
Vault locator and registry
Argon2id and HMAC-SHA256 lead to the 128-bit locator. It maps the credential to a vault. The key for the encrypted vault list lives device-bound in the iOS Keychain (ThisDeviceOnly). The lock screen shows neither names nor count.
Delays after failed attempts
After three free failed attempts the lock screen delay starts at 15 seconds and rises exponentially to five minutes. This delay and the cost of key derivation act on different levels.

File protection

A random master key protects the individual file keys. CryptArx also verifies data integrity when decrypting.

256-bit master key
CryptArx generates the master key randomly. When you change the credential, CryptArx re-seals the key envelope. Existing files do not need to be re-encrypted.
Individual file keys
Each item carries its own sealed file key, the wrappedFileKey. The master key protects these file keys.
AES-256-GCM with CryptoKit
Small contents and the vault index are encrypted with AES-256-GCM. The additional data (AAD) is versioned. GCM verifies integrity during decryption.
Secretstream for large files
CryptArx uses libsodium secretstream with XChaCha20-Poly1305 for large files. The 1-MiB blocks are chained and authenticated. A FINAL tag marks the stream end.

Recovery

The recovery phrase opens a separate access path. A backup in iCloud is optional and encrypted before upload.

Recovery with twelve words
With the matching recovery phrase you can reopen access. If credential and phrase are lost, CryptArx cannot issue a new key.
iCloud backup with its own envelope
The cloud header only holds the recovery envelope. Unlock pattern, password and their envelopes stay on the device. The backup bundles small files in 8-MiB blocks, avoids re-uploading identical blocks and supports partial restore.
Optional device binding
In device-bound mode, CryptArx derives the manifest key with HKDF from the master key and a local device key.
Separate paths for backup and session
The optional iCloud backup uses the recovery phrase outside the normal unlock envelope. On locking, CryptArx discards the active key state. The app does not keep a key for background sync in the keychain.

Sharing

The encrypted file is the share. It opens with the matching phrase in CryptArx, even without internet.

Dedicated share key
Each package gets its own master key. Argon2id protects its envelope via the share phrase. Encrypted file contents can be carried over unchanged; the associated file keys are re-sealed.
Rules inside the package
Expiry date, open limit and export lock are encrypted inside the package. They apply locally in CryptArx. A renewed share is a new file.

Protection limits

Protection also depends on the state of the device and the chosen credential. The security model distinguishes a locked file, an open session and external copies.

Open session
With an open vault, keys and decrypted content live in the app process. A compromised device can weaken session protection.
Credential and file system
Patterns have limited entropy. A strong password can offer more possible combinations. During a file system inspection, the number and sizes of encrypted remains can be estimated.
External backups and copies
A duress revocation works locally on the device. External backups, copies on other devices and sent packages remain.

Technical references

Where protection ends

The specifications describe the algorithms. How protection behaves during an open session, on the file system and with external copies depends on the security model.

View protection limits

CryptArx for iPhone

Requires iOS 17 or later. The App Store link is pending for this preview.