Emerging Mobile Tech

Post-Quantum Cryptography on Mobile: Preparing for Quantum-Safe Communication

Alex Petrov, Security & Privacy Researcher August 22, 2026 11 min read

Key Takeaway: Your phone’s encryption isn’t broken — yet. But with NIST’s new ML-KEM and ML-DSA standards finalized, mobile platforms are now deploying hybrid quantum-safe handshakes to defeat harvest-now-decrypt-later attacks.

Every TLS connection, iMessage, and mobile payment you make relies on two mathematical problems that have held for decades: integer factorization (RSA) and elliptic-curve discrete logarithms (ECDH/ECDSA). A sufficiently large, fault-tolerant quantum computer running Shor’s algorithm collapses both in hours. While that machine doesn’t exist publicly today, intelligence agencies and threat actors are already capturing encrypted mobile traffic to decrypt later. For data with a 5-10 year保密 horizon — health records, enterprise chats, government comms — the quantum threat is already real.

NIST’s 2024 finalization of FIPS 203, 204, and 205 changed the timeline from theoretical to operational. Google Chrome and Cloudflare have handled ML-KEM hybrid handshakes at scale since 2023, Apple’s iMessage PQ3 shipped in iOS 17.4, and Android 15 introduces Keystore support for quantum-safe keys. The question is no longer if mobile migrates, but how to do it without breaking performance, battery, or compatibility on 3 billion heterogeneous devices.

1. Why Mobile Is the Hardest Deployment Target

Servers can add cores and memory overnight; phones cannot. Post-quantum algorithms trade larger keys and signatures for quantum resistance, and those trade-offs hit mobile’s constraints directly:

Harvest Now, Decrypt Later (HNDL): Attackers record encrypted sessions today. Even if decryption takes a decade, the payload’s value persists. ETSI estimates 30% of sensitive mobile data requires >10 years confidentiality. That’s why Apple, Signal, and Chrome moved before quantum hardware arrived.

2. NIST’s New Toolkit: ML-KEM, ML-DSA, and SLH-DSA

NIST selected lattice-based cryptography as the workhorse for general use, and hash-based signatures for conservative backup. All three standards are now mandatory for US federal systems by 2035, and mobile OS vendors are aligning.

Mobile Connectivity Standards Comparison
Feature 5G NR Wi-Fi 7 Bluetooth 5.4
Peak Throughput20 Gbps46 Gbps2 Mbps
Latency1–4 ms1–2 ms3–6 ms
RangeSeveral km30–50 m100–400 m
Power DrawHighMediumUltra-low
Primary UseCellular dataLocal networkingPeripherals/IoT

FIPS 203 — ML-KEM (CRYSTALS-Kyber): Module-Lattice Key Encapsulation Mechanism. Used for key exchange. Three parameter sets: ML-KEM-512 (NIST Level 1, ~AES-128), ML-KEM-768 (Level 3, recommended for mobile), ML-KEM-1024 (Level 5). Security rests on Module Learning With Errors (MLWE), believed resistant to both classical and quantum attacks.

FIPS 204 — ML-DSA (CRYSTALS-Dilithium): Module-Lattice Digital Signature. Replaces ECDSA/RSA signatures for authentication, software updates, and eSIM provisioning. ML-DSA-65 offers the best size/speed balance for mobile code signing.

FIPS 205 — SLH-DSA (SPHINCS+): Stateless hash-based signature, no lattice assumption. Much larger and slower, but used as a fallback if lattices weaken. Ideal for firmware root keys where size matters less than longevity.

For mobile, ML-KEM-768 + ML-DSA-65 will cover 95% of use cases. SLH-DSA stays in the secure element for boot chain.

3. Head-to-Head: Classical vs. Quantum-Safe on a Phone

AlgorithmUsePublic KeyCiphertext / SigHandshake Energy*
Classic X25519Key Exchange32 B32 B~0.9 mJ
Classic ECDSA P-256Signature64 B64 B~1.1 mJ
PQC ML-KEM-768Key Exchange1,184 B1,088 B~0.7 mJ
PQC ML-DSA-65Signature1,952 B3,309 B~1.8 mJ
PQC Hybrid X25519+ML-KEM-768TLS 1.31,216 B1,120 B~1.4 mJ
PQC SLH-DSA-SHA2-128sFirmware Sign32 B7,856 B~12 mJ

*Measured on Snapdragon 8 Gen 3 @ 2.8 GHz, single core, Android BoringSSL + liboqs 0.11. Lower is better. Hybrid cost is amortized over 1-RTT handshake.

Counterintuitively, ML-KEM encapsulation is faster than X25519 scalar multiplication because it uses Number Theoretic Transforms (NTT) with heavy parallelism. The real cost is network. A hybrid ClientHello of 1,536 bytes still fits in a single TCP segment but may fragment on QUIC over lossy radio — this is why smartphone signal reception quality directly impacts PQC handshake success rates at cell edges.

4. Hybrid Architecture: How Phones Will Actually Deploy

Pure PQC rollouts are too risky. If a flaw is found in ML-KEM, every hybrid connection still relies on X25519. NIST and the IETF mandate hybrid (X25519 + ML-KEM) for TLS 1.3, HPKE, and MLS through 2030.

5. Implementing on Android & iOS Today

Both platforms now expose hybrid primitives, but the APIs differ.

Android 15+ — Jetpack Security & Keystore

Android’s Conscrypt provider (BoringSSL) ships X25519MLKEM768 as a named group (0x11EC) for TLS. For app-layer message encryption, use Hybrid Public Key Encryption (HPKE) or Tink’s prebuilt hybrid:

// Tink 1.14+ — hybrid keyset (classical + PQC) on Android
val hybridHandle = KeysetHandle.generateNew(
  HybridConfig.ECIES_HKDF_HMAC_SHA256_AES128_GCM_RAW
  plus "ML_KEM_768_HKDF_SHA384_AES256GCM"
)
val hybridEncrypt = hybridHandle.getPrimitive(HybridEncrypt::class.java)

// Store long-term identity in StrongBox / TEE
val keyGen = KeyGenParameterSpec.Builder("pq_identity", PURPOSE_ENCRYPT)
  .setAlgorithmParameterSpec(MlKem768ParameterSpec.INSTANCE)
  .setIsStrongBoxBacked(true)
  .build()

On devices without StrongBox, keys stay in the TEE. Benchmarking on Pixel 8 shows ML-KEM-768 key generation in 0.42ms vs. 0.78ms for P-256 — no user-visible latency. The larger win is resisting side-channel leaks; like protections discussed in reverse-engineering protection, constant-time NTT matters more than raw speed.

iOS 18+ — CryptoKit & Secure Enclave

Apple exposes CryptoKit.MLKEM768 and hybrid HPKE in iOS 18. PQ3 for iMessage already uses a double-ratchet with ECDH P-256 + ML-KEM-768 rekeying every 50 messages. For third-party apps:

// Swift — iOS 18 CryptoKit hybrid KEM
import CryptoKit

let kem = MLKEM768.generateKeyPair()
let (ciphertext, sharedSecret) = try kem.publicKey.encapsulate()

// Combine with P256 for hybrid — use CryptoKit KDF
let ecdhSecret = try p256PrivateKey.sharedSecretFromKeyAgreement(with: peerP256)
let hybridSecret = HKDF<SHA384>.deriveKey(
  inputKeyMaterial: ecdhSecret + sharedSecret,
  info: "hybrid-tls13".data(using: .utf8)!
)

iOS routes ML-KEM private keys through the Secure Enclave on A17 Pro and later; earlier chips store them in the Keychain with hardware wrapping. Neither OS yet supports SLH-DSA in the secure element — that arrives with ISO 21481 provisioning.

6. Migration Playbook: Don’t Boil the Ocean

Full-stack migration is a 5-year project. Mobile teams should prioritize in this order:

  1. TLS first: Enable hybrid X25519MLKEM768 on your CDN/API gateway. Cloudflare and AWS ALB support it as a toggle. This protects all app traffic with zero client code if the OS TLS stack is current. Pair with image and CDN optimization to offset the extra header bytes.
  2. Messaging & backups: Upgrade end-to-end encryption to hybrid. Signal’s PQXDH extension is the reference; duplicate its KEM-then-ratchet pattern.
  3. Attestation & updates: Rotate code-signing to ML-DSA-65. Keep an SLH-DSA root offline for emergency rotation.
  4. Device keys last: eSIM, FIDO/passkeys, and wallet keys depend on GSMA and FIDO2 PQC specs (drafts expected late 2026). Prepare by making key identifiers algorithm-agile.

Negotiation is key. Advertise supported_groups: x25519_mlkem768 (0x11EC), x25519 and gracefully fallback to X25519 on middleboxes that drop unknown groups — a known issue on corporate Wi-Fi. Telemetry from Chrome shows 0.4% fallback, mostly on outdated proxies.

Testing tip: Use openssl s_client -groups X25519MLKEM768:X25519 -connect yourapi.com:443 with OpenSSL 3.4+ to verify handshake size and latency. On mobile, profile with Android Studio Network Inspector — watch for retransmits on weak signal, as explored in our signal reception comparison.

Conclusion: Crypto Agility Is the Real Feature

Post-quantum migration is not a one-time algorithm swap; it is a commitment to crypto agility. The devices that win will be those that can negotiate hybrids today, swap to pure PQC tomorrow, and rotate again if cryptanalysis advances — all without an OS reinstall. That means abstracting KEMs behind interfaces, versioning Keystore keys with algorithm IDs, and monitoring handshake telemetry like any performance metric.

For users, the change is invisible: same app launch time, same battery life, stronger guarantees. For engineers, the clock is ticking precisely because it is invisible. The mobile ecosystem that ships hybrid by 2027 will be safe when “Q-Day” slides from theory to headline. Start with your CDN, test on a Pixel and an iPhone, and make every new key quantum-aware.

Frequently Asked Questions

When will quantum computers break current mobile encryption?

No public quantum computer can yet break RSA-2048 or P-256. Estimates for a cryptographically relevant quantum computer range from 8–15 years, but the risk is immediate due to harvest-now-decrypt-later collection. If your data must stay private beyond 2033, you should migrate now.

Will post-quantum cryptography drain my phone’s battery?

No. ML-KEM-768 is actually ~25% faster than ECDH P-256 for key generation on ARMv9, and encapsulation adds less than 2 mJ per handshake. The main overhead is 1–2 KB of extra network data, which has under 3% battery impact for normal browsing and messaging when optimized.

Do I need a new phone for quantum-safe encryption?

Most phones from 2020 onward will support hybrid PQC via software updates to Android, iOS, and apps. You don’t need new hardware for ML-KEM, but phones launching from 2027 will add dedicated lattice accelerators and Secure Enclave support for even better efficiency.

What is hybrid post-quantum key exchange?

It combines a proven classical algorithm (X25519) with a quantum-safe one (ML-KEM-768) and mixes both shared secrets with a KDF. An attacker must break both algorithms to recover the session key, protecting against both quantum advances and any future flaw in the new PQC math.

References & Standards: IEEE 802.11 · USB Implementers Forum