Mobile apps and their backends

Post-quantum cryptography for iOS and Android apps

iOS 26 already offers quantum-secure key exchange on every URLSession connection, but it only works when your servers answer in kind. Android is moving on a different path. We map what your app and its backend negotiate today and close the gaps on both sides.

iOS 26URLSession and Network framework offer X25519MLKEM768 by default
26.0OS release that added ML-KEM, ML-DSA and X-Wing to CryptoKit
2.7.0Conscrypt release whose TLS uses X25519MLKEM768 by default
17.4iOS release that brought PQ3 post-quantum messaging to iMessage
Watch and download

Post-quantum migration in a few minutes

AI warning on cryptography: post-quantum migration explained (1:48) The 2 December joint statement, the deadlines, where RSA and ECC hide, and the five steps. Watch on YouTube
AI advances and cryptography: plan your post-quantum migration now (1:30) Why the 2 December warning matters for every stack, and what a migration involves. Watch on YouTube

The video loads from YouTube (youtube-nocookie.com) only when you press play.

Why mobile apps are a harvest-now-decrypt-later target

A mobile app sends tokens, health readings, messages and payment data across networks its owner does not control. Anyone recording that traffic today could decrypt it later if the key exchange is broken by a future quantum computer. Hybrid key exchange closes that gap for new connections, and the platforms have started turning it on for you.

The catch is that a connection is only quantum-safe when both ends agree. Apple states it plainly: systems support quantum encryption only when they connect to supporting servers. A migration plan for an app is therefore always a plan for its API gateway, CDN and third-party SDK endpoints too.

Quantum-secure TLS on iOS 26

In iOS 26, iPadOS 26, macOS Tahoe 26 and visionOS 26, TLS 1.3 connections made through URLSession and the Network framework include X25519MLKEM768 in the ClientHello's supported groups, with a matching key share. Servers that support it select it; others pick a classical group, so compatibility is kept. Apple's platform guide lists the same default for tvOS 26 and watchOS 26. No app code change is needed to benefit.

Apps that bypass these APIs, for example with a bundled TLS library or a cross-platform runtime with its own stack, do not get the system default automatically. That is one of the first things we check.

Apple also warns that some legacy servers and network appliances fail to read the larger ClientHello. A temporary compatibility fallback exists on macOS, but Apple says it will not be available in a future release, so the server side must be fixed. On macOS Tahoe 26, nscurl --tls-diagnostics against your API host shows whether it negotiates X25519MLKEM768.

Your iPhone users are already asking your servers for a quantum-secure key exchange. Whether they get one depends on your backend.

CryptoKit ML-KEM, ML-DSA and X-Wing

For your own protocols, CryptoKit added MLKEM768, MLKEM1024, MLDSA65, MLDSA87 and the hybrid XWingMLKEM768X25519 KEM, all available from iOS, iPadOS, macOS, tvOS, visionOS and watchOS 26.0. Secure Enclave variants SecureEnclave.MLKEM768 and SecureEnclave.MLDSA65 keep private keys in hardware, and HPKE gained the XWingMLKEM768X25519_SHA256_AES_GCM_256 ciphersuite.

Apple's WWDC25 guidance is to prefer hybrid constructions, post-quantum HPKE for encryption and hybrid signatures for authentication, and its security guide says the primitives must be used in well-analysed protocols. In practice that means end-to-end encrypted features, device-bound keys and signed payloads, not TLS, which the system already handles. Apps that support iOS versions before 26 need a classical fallback path.

Apple has shipped post-quantum protection at scale before: iMessage's PQ3 protocol arrived in iOS 17.4, iPadOS 17.4, macOS 14.4 and watchOS 10.4.

ML-KEM-768 key encapsulation with CryptoKit, iOS 26+ (API names from Apple's documentation)
import CryptoKit

let privateKey = try MLKEM768.PrivateKey()
let result = try privateKey.publicKey.encapsulate()
// Send result.encapsulated to the key holder; keep result.sharedSecret.
let sharedSecret = try privateKey.decapsulate(result.encapsulated)

Android post-quantum: what exists today

Android's picture is split. Chrome has used hybrid key agreement by default since version 131. Google's Conscrypt, a BoringSSL-based Java security provider, added ML-KEM, ML-DSA, SLH-DSA, X-Wing and HPKE in 2.6.0 and switched its TLS to X25519MLKEM768 by default in 2.7.0, published as conscrypt-android on Maven. Release 2.9.0 added Conscrypt.getGroupName() to log the negotiated group, and 2.10.0 includes a security fix, so the current release is the one to bundle.

Those are library defaults. Whether the Conscrypt built into a particular Android device's OS offers the hybrid group is not something we have been able to confirm from Google's documentation, so we test it per device and OS version rather than assume it.

In March 2026 Google set out its Android 17 plans: ML-DSA in Android Verified Boot, ML-DSA-65 and ML-DSA-87 in Android Keystore through the standard KeyPairGenerator API, hybrid classical plus ML-DSA APK signing via Play and APK Signature Scheme v3.2, and post-quantum certificate chains for remote attestation. ML-KEM in KeyMint is on the roadmap. On the JVM side, Bouncy Castle Java has offered ML-KEM, ML-DSA and SLH-DSA since 1.79, with more on our Java, Go and OpenSSL page.

Flutter, React Native and .NET MAUI

Cross-platform apps inherit post-quantum TLS only when their HTTP client uses the platform stack. On iOS, Flutter's cupertino_http package (published by dart.dev) wraps Apple's URL Loading System, and .NET's NSUrlSessionHandler makes HttpClient use the native stack; both route through URLSession. A client that carries its own TLS implementation needs checking separately, and we have not found official statements that the default Dart or React Native clients offer the hybrid group on every platform.

On Android, the lever is the TLS provider: an app can bundle a current conscrypt-android release and use it as its security provider, which brings the library's X25519MLKEM768 default with it. We confirm the negotiated group from a real device build rather than trusting configuration.

Certificate pinning and app-to-backend TLS

Hybrid key exchange does not change the server certificate, so existing public-key or certificate pins keep validating. The harder change comes later, when servers move to ML-DSA or composite certificates: every pinned key becomes a forced app update, and users on old builds lose service. Pin sets need a planned successor key, and the pinning code must not depend on a TLS stack that cannot negotiate hybrid groups.

On the backend, the API gateway, CDN and any mobile-specific endpoints must negotiate X25519MLKEM768. See hybrid TLS with ML-KEM for terminators, Python, Node.js and PHP for web backends and cloud KMS, HSM and PKI for certificate planning.

  • List every host your app calls, including analytics, crash reporting and payment SDKs.
  • Record the negotiated group for each from an iOS 26 device and a current Android build.
  • Find pinned keys and their expiry, and plan successor pins before any certificate algorithm change.
  • Identify app-level cryptography (stored secrets, end-to-end features, signed requests) that needs CryptoKit, Keystore or Conscrypt primitives.

How BEK helps mobile teams migrate

  1. Assessment

    We inventory the app's networking stacks, third-party SDK endpoints, pins and app-level cryptography on iOS and Android, and capture what each connection negotiates today.

  2. Upgrade

    We fix the server side first, so iOS 26 users get hybrid TLS, then plan app updates: Conscrypt bundling, cross-platform HTTP clients and pin rotation.

  3. Implement

    Where the app needs its own post-quantum protection, we build hybrid designs with CryptoKit X-Wing or HPKE, Secure Enclave and Android Keystore keys, with classical fallbacks for older OS versions.

  4. Test and evidence

    We test on real devices and OS versions, record the negotiated groups and regressions, and give you a written evidence pack. We document what changed; we do not certify compliance.

Engagements

Start with a free call, then a fixed-price assessment

Every migration starts by finding where your cryptography actually is. We work on any stack: .NET, Java, Go, Python, Node.js, PHP, Rust, C and C++, iOS and Android, cloud KMS, HSMs and PKI. Prices are fixed before work starts. BEK Service Ltd is not VAT registered, so no VAT is added.

Free readiness call

Free 30 minutes

A video call with an engineer. Tell us what you run; we tell you where your quantum-vulnerable cryptography most likely is, what the deadlines mean for you, and whether an assessment is worth it.

  • Your stacks, vendors and data lifetimes
  • Which deadlines apply to you
  • A straight answer on next steps
Book the free call

Migration and implementation

Quoted after the assessment

We do the work: runtime upgrades, crypto-agility layers, hybrid TLS, PQC signatures and key exchange, testing and the evidence your customers or auditors ask for.

  • Runtime and library upgrades on any stack
  • Hybrid ML-KEM key exchange, ML-DSA signatures
  • PKI, KMS and HSM changes
  • Regression and interop testing
  • Evidence pack for customers and auditors
Ask for a quote
  1. Discover

    Inventory every algorithm, key, certificate, library and protocol in scope.

  2. Prioritise

    Rank by how long the data must stay secret and how hard each change is.

  3. Upgrade

    Move runtimes and libraries to versions that support NIST's PQC standards.

  4. Implement

    Hybrid key exchange first, then PQC signatures, behind a crypto-agile layer.

  5. Evidence

    Test, document and hand over what your customers and auditors ask for.

FAQ

Questions we are asked

Is my iOS app already quantum-safe on iOS 26?

Its URLSession and Network framework connections offer X25519MLKEM768 by default on iOS 26, but the key exchange is only quantum-secure if your server supports it too. Connections through a bundled TLS library do not get the system default.

Which iOS version added ML-KEM to CryptoKit?

MLKEM768, MLKEM1024, MLDSA65, MLDSA87 and XWingMLKEM768X25519 are available from iOS 26.0, with matching availability on iPadOS, macOS, tvOS, visionOS and watchOS 26.0.

Does Android support post-quantum TLS?

Chrome uses hybrid key agreement by default from version 131, and the Conscrypt library uses X25519MLKEM768 by default from 2.7.0 when bundled with your app. We test whether the built-in platform TLS on a given device does, because we have not found official confirmation.

Do we need to change certificate pinning?

Not for hybrid key exchange, which leaves certificates unchanged. You do need a plan before your servers move to post-quantum or composite certificates, because pinned keys will then have to change in shipped apps.

Should we use ML-KEM directly in our app?

Only inside a well-analysed protocol. Apple recommends hybrid constructions such as post-quantum HPKE, and TLS is already handled by the system on iOS 26. We design the protocol around the verified platform APIs.

What about Flutter, React Native or MAUI apps?

They benefit when their HTTP client uses the platform stack, for example cupertino_http on iOS or NSUrlSessionHandler in .NET. Clients with their own TLS implementation need to be tested individually.

Sources

Facts checked against the sources below on 2026-12-02. Standards and product support change; tell us if something here is out of date. This page is general information, not legal or compliance advice.

  1. Prepare your network for quantum-secure encryption in TLS (Apple, 2026-12-02)
  2. Quantum-secure cryptography in Apple devices (Apple Platform Security) (Apple, 2026-12-02)
  3. Apple CryptoKit documentation (Apple, 2026-12-02)
  4. Get ahead with quantum-secure cryptography (WWDC25 session 314) (Apple, 2025-06-09)
  5. Security for the Quantum Era: Implementing Post-Quantum Cryptography in Android (Google, 2026-03-25)
  6. APK signature scheme v3.2 (Android Open Source Project, 2026-12-02)
  7. Conscrypt releases (Google (GitHub), 2026-11-23)
  8. Bouncy Castle Java 1.79: latest NIST PQC standards (Legion of the Bouncy Castle, 2024-10-30)
  9. Post-quantum support matrix (Cloudflare, 2026-12-02)
  10. cupertino_http package (dart.dev, 2026-12-02)
  11. NSUrlSessionHandler class (Microsoft, 2026-12-02)
Talk to an engineer

Book your free 30-minute readiness call

Tell us what you run and what is driving the question: a customer questionnaire, a government contract, a regulator or your own roadmap. We reply within one working day with times for a call.

Prefer e-mail? Write to sales@bekservice.uk.

BEK Service Ltd, a software company registered in England and Wales (company no. 12590587). We use what you send only to answer you; see our privacy policy.