Security Architecture · Verified iOS Spec

Real encryption. Zero vague promises.

A transparent look at how Octoshield encrypts your iPhone photos, videos, and PDFs, how keys stay bound to your hardware, and the exact limits you should know before trusting any vault.

File CipherAES-256-GCM512 KB authenticated chunks
Key DerivationPBKDF2 + HKDFSHA-256 + iOS Keychain
Central ServersNone100% on-device by default
Recovery Key9-Word PhraseZero-knowledge iCloud option
HOW A FILE IS LOCKED

Follow the cryptography step by step

Tap each stage to inspect how your secret, iOS Keychain, and per-item keys seal every file before it touches storage.

STAGE 01 OF 04 · PBKDF2-SHA256 + iOS Keychain

Your lock is combined with a random key stored only on this iPhone.

Whether you choose a PIN, passphrase, Pattern Grid, Safe Dial, Constellation, Cryptex, or Sigil Ring, PBKDF2-SHA256 stretches your secret and mixes it with a random device-bound key held in the iOS Keychain.

UNLOCK INPUT DERIVATION
User secret7 lock methods (independent of iPhone PIN)
StretchingPBKDF2-SHA256
Device bindingRandom Keychain key (non-migrating)
Brute-force guardThrottled after 5 failed attempts
DEFENSE IN DEPTH

Six layers protecting your vault

Engineered on native Apple CryptoKit and iOS Keychain APIs with no third-party ad trackers or remote account databases inside the vault.

Chunked file, thumbnail & index encryption

Every imported photo, video, and PDF is encrypted in 512 KB AES-256-GCM chunks using unique HKDF-SHA256 per-item keys. Thumbnails and the filename index are encrypted too, and GCM authentication detects tampered or truncated data.

7 lock styles bound to this iPhone

Pick a PIN, full passphrase, 3×3 or 5×5 Pattern Grid, Safe Dial, Constellation, Cryptex, or reshuffling Sigil Ring. PBKDF2-SHA256 stretches your secret and binds it to a hardware-protected random key inside iOS Keychain.

Isolated Face ID & Touch ID slot

Optional biometric unlock uses a separate Keychain access-control slot. If Face ID or Touch ID enrollment changes on the device, the biometric path is invalidated automatically and requires your primary vault secret.

Local-first with zero central servers

Octoshield requires no email and no account. Local vault files are excluded from automatic iCloud device and computer backups. Optional encrypted backup or Pro sync uploads only ciphertext to your own private Apple iCloud.

Active protection while viewing

Videos stream through an in-memory decryptor, and temporary document previews are cleared when closed or locked. Octoshield obscures vault contents in the App Switcher and during detected screen recording or AirPlay mirroring.

Hidden vaults & brute-force defense

Unlock attempts are throttled after 5 failures, with an optional destructive wipe after 10 wrong attempts. Pro adds independent hidden and decoy vaults with no visible list of other vaults anywhere in the interface.

THREAT MODEL & BOUNDARIES

What Octoshield defends against, and its clear limits

Real security means stating both what encryption solves and what no local iOS app can promise.

Protected

Someone borrows your unlocked iPhone

A friend, family member, or repair technician has your unlocked phone or knows your iOS lock-screen passcode.

Octoshield requires its own independent lock (7 styles) separate from your iPhone passcode. Private items are removed from Apple Photos and invisible in system pickers.

Optional Guard

Repeated passcode guessing

Someone attempts to brute-force your PIN or pattern directly on the device.

Failed attempts are automatically throttled after 5 tries. You can also opt in to local vault erasure after 10 consecutive failed attempts (off by default).

Protected

Screen recording or App Switcher peeks

AirPlay mirroring is left on, screen recording starts, or you swipe into the iOS App Switcher.

Octoshield automatically obscures the vault behind a privacy cover during detected capture or app switching, and alerts you immediately if an iOS screenshot is taken.

Protected

Shared Mac, iPad, or Family iCloud exposure

Hidden photos in Apple Photos still sync to iCloud.com and linked Macs or iPads.

Vault files stay strictly local on your iPhone and excluded from standard backups. Optional encrypted iCloud backup and Pro sync upload only AES-256-GCM ciphertext.

Protected

Central server hack or account leak

Many photo vault apps store your email and photos on company servers that can be breached or subpoenaed.

Octoshield requires no email, no account, and operates zero central vault servers. There is no remote copy of your files or keys for TengrX to access or lose.

Clear Limit

Forgotten lock + lost 9-word recovery phrase

You forget your vault secret, lose your 9-word recovery phrase, or uninstall the app without a backup.

Because encryption is zero-knowledge, TengrX cannot reset your lock or recover lost files. Keep your 9-word phrase safe and export irreplaceable documents independently.

Important Security Boundaries

Read these limits before deleting your only copy

  • No backdoor recovery: TengrX cannot reset a forgotten vault secret or decrypt your files if you lose both your secret and your 9-word recovery phrase.
  • Source copies stay separate: Importing into the vault protects the encrypted copy inside Octoshield. Originals in Apple Photos, iCloud Drive, or Files remain untouched unless you remove them.
  • Exports & screenshots: Exported files leave vault encryption. iOS does not allow apps to reliably block all screenshots, so Octoshield alerts you immediately instead of making false promises.
  • Implementation documentation: This page documents the current Octoshield iOS implementation engineered by TengrX; it is not a claim of an independent third-party security audit.
ARCHITECTURE COMPARISON

Encrypted local vault vs. Apple Hidden & cloud vaults

How on-device AES-256-GCM encryption compares to iOS’s built-in Hidden album and typical account-based vault apps.

Security PropertyOctoshieldApple Hidden AlbumTypical Cloud Vault
Per-file AES-256-GCM encryptionWhether files are cryptographically sealed on disk instead of hidden behind a UI flag YesDevice passcode onlyOften UI lock or paid tier only
Separate lock from iPhone passcodePrevents anyone who knows your lock-screen PIN from opening private media7 lock styles + optional Face ID NoPIN only
Encrypted thumbnails & filename indexHides preview images and sensitive document names like passport.pdf at rest Yes NoVaries / often plaintext
Zero accounts & zero central serversNo email login and no company cloud server holding your media YesUses Apple ID / iCloud Photos No
Excluded from Apple Photos & Mac syncStops private shots from syncing across linked Macs, iPads, and iCloud.com Yes NoDepends on cloud sync
Screen recording & App Switcher coverAutomatically obscures vault content during screen capture or switching Yes NoRarely implemented
SECURITY FAQ

Common iPhone encryption & vault security questions

Direct answers on AES-256-GCM encryption, Keychain binding, iCloud backup privacy, and recovery.

01How does AES-256-GCM encryption protect photos and PDFs on iPhone?+

When you import a photo, video, or document into Octoshield, Apple CryptoKit splits the file into 512 KB chunks and encrypts each chunk using AES-256-GCM with a unique key derived via HKDF-SHA256. GCM adds a 128-bit authentication tag to every chunk so modified or corrupted ciphertext is detected before decryption.

02Can Apple or Octoshield decrypt my vault or my iCloud backup?+

No. Octoshield operates no central vault servers and requires no account. By default, vault files never leave your iPhone. If you turn on optional iCloud backup or Pro sync, files are encrypted on-device before upload, so Apple iCloud stores only ciphertext that can only be restored with your 9-word recovery phrase.

03Are photo thumbnails, filenames, and metadata also encrypted?+

Yes. Both preview thumbnails and the vault metadata index (including filenames such as passport.pdf or tax-return.pdf) are encrypted at rest with separate derived keys, preventing plaintext leakage through file listings or cached previews.

04Is a 6-digit PIN or pattern secure when combined with iOS Keychain binding?+

Your chosen secret is stretched with PBKDF2-SHA256 and mixed with a random device-bound key stored in the iOS Keychain, so encrypted files copied off the phone cannot be offline brute-forced without the hardware Keychain key. On-device guessing is also throttled after 5 failed attempts.

05What happens if someone extracts files from my iPhone or computer backup?+

Octoshield marks its local vault container as excluded from automatic iCloud device and Finder/iTunes computer backups. Even if raw encrypted chunks were accessed directly, they remain unreadable AES-256-GCM ciphertext without both your secret and this device’s Keychain key.

06Does Octoshield protect against screen recording and screenshots?+

Yes, within iOS system boundaries. Octoshield automatically covers vault content when iOS reports screen recording, AirPlay mirroring, or App Switcher transitions, and warns you right away if a screenshot is taken. Because iOS cannot block every screenshot at the OS level, Octoshield states this limit transparently.

07What happens if I forget my vault lock or switch to a new iPhone?+

During setup, Octoshield generates a 9-word recovery phrase. You can use that phrase to reset a forgotten lock or restore an optional encrypted iCloud backup onto a new iPhone or iPad. Because encryption is zero-knowledge, TengrX cannot recover your files if both your lock and recovery phrase are lost.

Octoshield app icon

Octoshield

AES-256-GCM Vault + Free Swipe Cleaner

FreeUnlimited Swipes
AES-256Local Vault
ZeroAccounts

Encrypt private photos, videos, and PDFs on-device behind 7 custom lock styles, with no account and zero central vault servers.

Octoshield iPhone app showing Smart Picks and Timeline cleanup bands