Start your free trial

Choose how you want to try Troop Messenger.

Instant

Cloud (SaaS)

Sign up and start in minutes. Hosted and updated by us.

  • [7]-day free trial
  • Invite your team straight away
Start cloud trial

Building your own app? Try the Chat API

blogs X25519MLKEM768: Hybrid Post-Quantum Key Exchange Explained
hybrid-post-quantum-key-exchange

X25519MLKEM768: Hybrid Post-Quantum Key Exchange Explained

Author : Apoorva Nayak

X25519MLKEM768 is a hybrid post-quantum key exchange mechanism that combines classical X25519 elliptic-curve cryptography with the post-quantum ML-KEM-768 algorithm. It is specified for TLS 1.3 and allows two communicating systems to establish shared secret material using both classical and post-quantum cryptography.

If you encounter this identifier in browser developer tools, TLS connection logs or server configurations, it indicates that the connection may be negotiating protection against both conventional and future quantum-computer attacks.

Understanding this identifier matters to security architects planning cryptographic transitions. It helps determine whether a TLS connection protects recorded traffic against future quantum decryption, which software supports hybrid key exchange and where additional migration work remains necessary.

What Is X25519MLKEM768?

X25519MLKEM768 is a hybrid key agreement mechanism that combines two cryptographic algorithms to establish shared secret material during a TLS 1.3 handshake.

The name identifies its two components:

  • X25519: A classical elliptic-curve Diffie-Hellman key exchange mechanism based on Curve25519. It is widely deployed and provides security against conventional computers.
  • ML-KEM-768: A post-quantum Key Encapsulation Mechanism standardised by the US National Institute of Standards and Technology (NIST) in FIPS 203, published on 13 August 2024.

ML-KEM-768 was previously known as CRYSTALS-Kyber-768 during the standardisation process. NIST selected ML-KEM as its primary standardised general-purpose key-establishment mechanism.

The two algorithms contribute separate shared secrets to the hybrid key agreement process. These secrets are concatenated as specified by the TLS hybrid group and processed by the TLS 1.3 key schedule to derive session traffic keys.

The security rationale is defence in depth. The hybrid construction is designed to retain security if at least one component remains secure, provided the combination is implemented correctly. This means that a vulnerability in one component does not automatically compromise the confidentiality provided by the other.

This approach is particularly relevant to organisations handling confidential information with long retention periods. It supports the transition towards [post-quantum cryptography](/guides/post-quantum-cryptography) without requiring an immediate abandonment of established classical cryptography.

Why Hybrid Instead of Pure Post-Quantum?

Hybrid key exchange combines classical and post-quantum cryptography to avoid relying exclusively on either mechanism during the transition.

Although ML-KEM is standardised, organisations must still account for implementation defects, evolving cryptanalysis and operational compatibility. Retaining X25519 alongside ML-KEM provides an additional security mechanism while post-quantum algorithms gain deployment experience.

The principal reasons for adopting hybrid key exchange are:

  • Defence in depth: If ML-KEM is weakened by an unexpected cryptographic discovery, X25519 continues to provide conventional security. Conversely, ML-KEM is designed to protect against quantum attacks that threaten classical elliptic-curve key exchange.
  • Migration flexibility: Existing TLS infrastructure can adopt hybrid groups without immediately removing established algorithms.
  • Confidentiality protection: Hybrid exchanges address the risk of attackers recording encrypted traffic today and decrypting it when sufficiently capable quantum computers become available.
  • Standards transition: NIST's final October 2026 report, NIST IR 8547, describes the transition from quantum-vulnerable algorithms to post-quantum standards and identifies migration requirements for key-establishment schemes and digital signatures.

The IETF's hybrid key agreement specifications also describe constructions designed to retain security when at least one component algorithm remains secure. However, not every possible combination of classical and post-quantum algorithms is automatically approved or compliant.

Agency positions and implementation requirements can differ. The US National Security Agency's CNSA 2.0 requirements, NIST guidance and other national cryptographic policies should therefore be assessed separately.

How Hybrid Key Exchange Works in TLS 1.3

X25519MLKEM768 operates during the TLS 1.3 handshake, where the client and server establish shared secret material before exchanging encrypted application data.

The process involves the following stages:

  • ClientHello: The client sends a TLS ClientHello message containing its supported groups and a key share for X25519MLKEM768. The share includes an ML-KEM-768 encapsulation key and an ephemeral X25519 public value.
  • Server selection: If the server supports the group, it selects the hybrid mechanism and processes the client's ML-KEM encapsulation key and X25519 public share.
  • Server key share: The server generates an ML-KEM ciphertext using the client's encapsulation key and creates its own ephemeral X25519 share. It returns both values to the client.
  • Secret derivation: The client decapsulates the ML-KEM ciphertext to obtain the ML-KEM shared secret. Both parties independently calculate the X25519 shared secret.
  • TLS key schedule: Both parties concatenate the ML-KEM and X25519 shared secrets and supply the resulting material to the TLS 1.3 key schedule, which derives the session traffic keys.

RFC 10024, Post-Quantum Traditional (PQ/T) Hybrid Key Agreement Mechanisms for TLS 1.3, was published by the Internet Engineering Task Force (IETF) in August 2026. It formally specifies X25519MLKEM768 alongside two other hybrid groups for TLS 1.3.

The RFC assigns X25519MLKEM768 the TLS Supported Groups codepoint 0x11EC, equivalent to decimal 4588.

What Is the Network Overhead?

X25519MLKEM768 increases TLS handshake message sizes because it exchanges additional cryptographic material.

RFC 10024 specifies the following key-share sizes:

TLS handshake component

Size

Client key share

1,216 bytes

Server key share

1,120 bytes

Combined key-share data

2,336 bytes

The client share contains:

  • 1,184 bytes of ML-KEM-768 encapsulation key material.
  • 32 bytes of X25519 public data.

The server share contains:

  • 1,088 bytes of ML-KEM ciphertext.
  • 32 bytes of X25519 public data.

These figures describe the key-share values, not the complete TLS handshake messages. Actual network overhead also includes TLS framing and other handshake fields.

Larger handshake messages can expose compatibility problems in legacy firewalls, proxies and network middleboxes. Organisations should test these components before enabling hybrid exchanges across production infrastructure.

Where X25519MLKEM768 Is Enabled by Default

X25519MLKEM768 support is available in several widely deployed software implementations, although actual default behaviour depends on the product, version, operating system and configuration.

The following table distinguishes the standardised TLS mechanism from the related SSH implementation.

Software

Version

Support and default behaviour

Google Chrome

131

ML-KEM-based hybrid key exchange enabled by default on supported platforms.

OpenSSL

3.5.0

Includes X25519MLKEM768 in its default TLS supported-group configuration.

Go

1.24

Supports the hybrid group by default when Config.CurvePreferences is nil.

OpenSSH

9.9

Introduced mlkem768x25519-sha256.

OpenSSH

10.0

Made mlkem768x25519-sha256 the default SSH key exchange.

Google's Chromium security documentation confirms that ML-KEM-based hybrid key exchange became enabled by default in Chrome 131. The earlier Chrome implementation used an experimental Kyber-based mechanism, which was subsequently replaced by the standardised ML-KEM implementation.

OpenSSL's 3.5.0 release documentation describes the new hybrid group and its inclusion in the default TLS supported-group configuration. Go's 1.24 release notes document support for the group when applications leave CurvePreferences unset.

OpenSSH uses a related but differently named algorithm. Its mlkem768x25519-sha256 method combines ML-KEM-768 and X25519 for SSH key exchange. According to the OpenSSH project, it became the default in release 10.0, published in April 2025.

Important distinction: SSH and TLS use different protocol specifications and algorithm identifiers. The OpenSSH method is conceptually related to X25519MLKEM768, but it is not the same TLS named group.

These defaults do not guarantee that every connection uses post-quantum key exchange. Both endpoints must support the relevant mechanism, and configuration or network restrictions can affect negotiation.

How to Check If a Connection Uses It

You can check whether a connection negotiated X25519MLKEM768 by inspecting its TLS connection details or testing it with a compatible OpenSSL client.

1. Check Using Browser Developer Tools

Google Chrome provides a way to inspect the negotiated connection:

  • Open the website in Chrome.
  • Press F12 to open Developer Tools.
  • Select the Security panel.
  • Reload the page to establish a fresh connection.
  • Select the website's origin under the security overview.
  • Locate the connection details and inspect the key exchange field.

If the field displays X25519MLKEM768, the connection negotiated the hybrid mechanism. If it displays X25519, the connection used classical elliptic-curve key exchange instead.

The precise panel layout can vary between browser versions. Inspect the actual connection to the relevant origin rather than assuming that every resource loaded by a page uses the same security configuration.

2. Check Using OpenSSL

OpenSSL 3.5 or later can be used to test whether a server negotiates the hybrid group.

First, check the installed version:

openssl version

Then initiate a TLS 1.3 connection:

openssl s_client -connect example.com:443 -tls1_3

Inspect the output for the negotiated group. On supported builds, the connection details can identify X25519MLKEM768.

To test specifically whether the server accepts the hybrid group, restrict the client's offered groups:

openssl s_client -connect example.com:443 -tls1_3 -groups X25519MLKEM768

Replace example.com with the target hostname. A successful handshake indicates that the server negotiated the offered group, subject to confirmation in the connection output.

If the handshake fails, investigate server support, TLS configuration, network interception and client capabilities before concluding that the server does not support post-quantum cryptography.

3. Check Application and Server Configuration

For application developers, the presence of a supported algorithm in a cryptographic library does not prove that the application uses it.

Check the effective TLS configuration, library version and negotiated connection parameters. For Go applications, pay particular attention to custom tls.Config.CurvePreferences settings because explicitly configuring the field changes the default behaviour.

The same principle applies to proxies, load balancers and TLS termination points. The connection between a browser and a CDN may use hybrid key exchange even when the connection between the CDN and the origin server uses classical cryptography.

Hybrid Key Exchange in VPNs and SSH

Hybrid key exchange is relevant beyond HTTPS because VPN protocols and SSH also carry sensitive network traffic and administrative communications.

IKEv2 and VPN Connections

RFC 9370, published in May 2023, defines multiple key exchanges for Internet Key Exchange Protocol Version 2 (IKEv2).

It introduces mechanisms that allow peers to combine multiple key exchanges when establishing security associations. These can include a classical Diffie-Hellman exchange and an additional post-quantum exchange.

The resulting shared secret incorporates the component secrets. This provides protection against harvest-now, decrypt-later attacks when at least one component remains secure and the construction is correctly implemented.

VPNs are particularly relevant to enterprise environments because they can protect traffic from applications that do not yet support post-quantum TLS.

For example, an organisation can place legacy applications, internal services and older client software behind a suitably configured post-quantum VPN. The tunnel provides an additional cryptographic protection layer without requiring every application to implement ML-KEM independently.

However, a post-quantum tunnel does not automatically make application-level encryption quantum-resistant. Organisations must assess both layers.

Post-Quantum SSH

SSH also needs protection because administrators use it to access servers, manage infrastructure and transfer sensitive files.

The OpenSSH project introduced mlkem768x25519-sha256 in version 9.9 and made it the default key exchange in version 10.0, released in April 2025.

To inspect supported key exchange algorithms, run:

ssh -Q kex | grep mlkem

To inspect the algorithm negotiated during a connection, run:

ssh -v user@example.com

Look for the key exchange algorithm in the verbose output. A successful negotiation using mlkem768x25519-sha256 confirms that the SSH session uses the hybrid method.

Organisations should inventory SSH clients and servers separately. Upgrading only the client does not guarantee hybrid protection when the remote server does not support the algorithm.

What Hybrid Key Exchange Does Not Protect

X25519MLKEM768 protects the confidentiality of newly established session keys against the intended quantum threat, but it does not make the entire TLS connection quantum-resistant.

The distinction between key establishment and authentication is important.

TLS uses asymmetric cryptography for different purposes:

  • Key establishment: Establishes shared secrets used to derive encryption keys.
  • Authentication: Uses certificates and digital signatures to establish the identity of the communicating endpoint.

X25519MLKEM768 upgrades key establishment, not the certificate signature algorithm. Conventional RSA and ECDSA certificates remain vulnerable to sufficiently capable quantum computers running Shor's algorithm.

Consequently, hybrid key exchange helps address harvest-now, decrypt-later attacks, but does not independently solve future quantum attacks against classical authentication.

NIST IR 8547, published on 27 October 2026, addresses the broader transition from quantum-vulnerable cryptographic algorithms to post-quantum standards. This includes migration considerations for key-establishment mechanisms and digital signatures.

Other limitations require operational attention:

Limitation

Security or operational implication

Classical certificates

Identity authentication may remain vulnerable to future quantum attacks.

Legacy middleboxes

Larger handshake messages can trigger connection failures or timeouts.

Incompatible endpoints

Connections may use a different supported key exchange mechanism.

Application-level encryption

Hybrid TLS does not automatically upgrade stored data or end-to-end encryption.

Legacy protocols

Applications using older TLS versions may not benefit from the TLS 1.3 hybrid group.

This is why organisations should not treat a successful hybrid TLS connection as proof that their entire cryptographic infrastructure has completed its post-quantum migration.

How Troop Messenger Uses Hybrid Post-Quantum Key Exchange

Troop Messenger can run over a post-quantum VPN, providing an additional network-level protection layer for application traffic.

This is relevant to organisations evaluating post-quantum encryption for messaging, particularly when their applications cannot independently negotiate post-quantum TLS. A suitably configured VPN can protect traffic travelling between supported endpoints without requiring every application to implement ML-KEM independently.

Organisations considering this approach should assess the VPN's actual key exchange implementation, endpoint compatibility and tunnel configuration.

However, using a post-quantum VPN does not establish that Troop Messenger's application-level TLS, stored data encryption or optional end-to-end encryption uses post-quantum algorithms. These capabilities require separate engineering confirmation.

Conclusion

X25519MLKEM768 provides a practical transition towards post-quantum communications by combining established X25519 key exchange with standardised ML-KEM-768.

Organisations should verify negotiated algorithms across TLS, VPN and SSH connections while planning separate upgrades for certificates, authentication and application-level encryption.

Applications that cannot negotiate post-quantum TLS can still communicate through a suitably configured post-quantum VPN. This provides an additional network-level protection layer while organisations work towards broader cryptographic migration.

Frequently Asked Questions

1. What Is X25519MLKEM768?

X25519MLKEM768 is a hybrid key exchange mechanism combining X25519 elliptic-curve Diffie-Hellman with ML-KEM-768. It is specified in IETF RFC 10024 for TLS 1.3. Both algorithms contribute shared secrets, which are combined to derive session keys and protect confidentiality against conventional and quantum-capable attackers.

2. Is TLS 1.3 Quantum Safe?

TLS 1.3 is not automatically quantum-resistant. Its security depends on the cryptographic algorithms negotiated during the handshake. A connection using classical X25519 remains vulnerable to sufficiently capable quantum attacks. Hybrid mechanisms such as X25519MLKEM768 introduce post-quantum key establishment while retaining classical cryptographic protection.

3. What Is Hybrid Key Exchange?

Hybrid key exchange combines classical and post-quantum cryptographic algorithms to establish a shared secret. Both components contribute to the resulting key material. The approach is designed to preserve confidentiality if at least one component remains secure, making it a practical migration strategy for organisations adopting post-quantum TLS.

4. Which Browsers Support Post-Quantum TLS?

Google Chrome supports standardised ML-KEM key exchange by default from version 131. Chromium documentation confirms availability across desktop platforms and Android. Other browser implementations have also adopted ML-KEM, but support and rollout differ by release. Verify the negotiated key exchange rather than relying exclusively on browser version numbers.

5. Does Hybrid Key Exchange Slow Down Connections?

Hybrid key exchange increases handshake message sizes because it exchanges additional cryptographic material. This can affect network compatibility, particularly where legacy middleboxes impose message-size restrictions. Computational and latency impacts depend on the implementation and network environment. Performance testing should include handshake completion rates, latency and connection failures.

Recent blogs
loading
Header
loading