Secure enclaves and TPMs
Most modern devices contain a separate, locked-down chip or zone that stores keys and checks your passcode, face or fingerprint. Even if the main system is hacked, the keys stay inside.
A tiny safe welded inside your phone, with its own guard.
- You
- 1Unlock your device Your face, fingerprint or PIN unlocks the private key. Your biometrics never leave the phone. Today: Secure enclave or TPM The site never receives your fingerprint or face.
- 2Check the website Your device confirms the real web address before it will sign anything. Today: Built into FIDO2 and WebAuthn This is why a fake look-alike site gets nothing.
- 3Sign a challenge The private key signs a one-time challenge from the site. Today: ECDSA signatures Will need a post-quantum upgrade in time.
- 4Site checks The site checks the signature with the public key it stored when you set up the passkey. Today: Public key only A breach of the site leaks no password, only public keys.
- Signed in
Why it matters
Device encryption, Face ID, Touch ID, passkeys and phone payments all depend on it.
Where you meet it
Apple's Secure Enclave, Google's Titan chips, Samsung Knox, and the TPM (Trusted Platform Module) that Windows 11 requires.
- Phone locked
- 1You enter your passcode Or use your face or fingerprint, which stands in for the passcode. Where: Lock screen The security chip limits guesses, so even a six-digit passcode resists guessing.
- 2Hardware mixes in its secret A security chip combines your passcode with a key that never leaves it. Where: Secure Enclave, Titan M, TPM Guesses must go through the chip, which limits them.
- 3File keys released The combined key unlocks the keys that encrypt your files. Where: Security chip and storage hardware On iPhone, every file gets its own key.
- 4Wipe by forgetting Erasing the phone destroys the hardware key, so the data can never be decrypted. Where: Erase All Content and Settings, factory reset Takes seconds.
- Phone unlocked or wiped
Go deeper history and technical detail
These are small cousins of the hardware security modules banks use. They limit passcode guesses, store biometric templates, hold passkey private keys and authorise payments from phone wallets (on iPhone the payment cryptogram itself comes from a separate Secure Element chip). 'Confidential computing' extends the idea to cloud servers.
Related terms
Cite this page Encryption Observer, “Secure enclaves and TPMs”, encryption.observer/terms/secure-enclave/, checked December 2026.