Microsoft .NET 11 RC2: hybrid ML-KEM in experimental API, test outside production only
Microsoft released .NET 11 RC2 on October 13, with an experimental CompositeMLKem API that combines ML-KEM with a classical algorithm. .NET teams can test it, but should not deploy it in production.
Translated from French by AI. The original French article is the reference version.

Key points
Microsoft released .NET 11 RC2 on October 13. This version adds CompositeMLKem, an experimental hybrid key encapsulation API that combines ML-KEM with a classical algorithm. The API may still change, and the IETF draft that defines these combinations has not been published as an RFC. There is no operational urgency: the goal is to test outside production and to prepare a cryptographic inventory of .NET applications.
The facts
- October 13, .NET 11 RC2 library release notes: the
CompositeMLKemclass combines ML-KEM (NIST FIPS 203) and a classical mechanism. Both contribute to the shared secret, and the exchange remains protected if one of them is broken.CompositeMLKem.IsAlgorithmSupportedindicates whether a combination is available, only on platforms that already support ML-KEM. - RC2 release notes: the API is experimental. To use it, you must suppress the
SYSLIB5006diagnostic warning. - RC2 release notes: HPKE (Hybrid Public Key Encryption) arrives as an experimental API (
SYSLIB5009). In RC2, it is limited to classical Diffie-Hellman-based suites and supports no ML-KEM suite. - RC2 release notes:
EnvelopedCmsencrypts and decrypts with ML-KEM, but only with pure ML-KEM and outside Windows. - October 14, IETF: draft-ietf-lamps-pq-composite-kem moves to version 23. The text is at the late stage of standardization, but not yet published as an RFC. It defines twelve combinations that pair ML-KEM-768 or ML-KEM-1024 with RSA, NIST or Brainpool curves, or X25519 and X448.
- .NET 10 already offered
MLKem,MLDsa,SlhDsaandCompositeMLDsa. According to Duende Software, onlyMLKemwas considered stable there. These features require Linux with OpenSSL 3.5 or later, or a Windows version whose CNG supports post-quantum cryptography. macOS was not supported.
Impact
This is a new platform capability, not a vulnerability. It concerns .NET development teams and those in charge of the post-quantum roadmap. The hybrid approach matches the recommendations of the ANSSI (France's national cybersecurity agency), which advises combining post-quantum and classical algorithms during the transition.
RC2 came out one day before version 23 of the IETF draft: .NET is following standardization closely. Two limits weigh on real-world use. The interface is not frozen, and support depends on the platform (OpenSSL version, CNG, CMS outside Windows). An organization can start measuring the migration effort for its .NET code now. It should not yet base a durable exchange or storage format on these APIs. Microsoft is moving in the same direction on the infrastructure side, with a pilot program to test certificates against quantum threats.
Recommendations
- Reserve
CompositeMLKemand HPKE for test environments. RC2 has a “go-live” license, but an experimental API does not belong in long-lived production code. - Inventory the uses of RSA and ECDH in .NET applications, to identify where the hybrid approach can fit.
- Check target platforms (OpenSSL version, Windows version) with the
IsSupportedmethods andCompositeMLKem.IsAlgorithmSupportedbefore relying on these APIs. - Before any deployment, wait for the publication of draft-ietf-lamps-pq-composite-kem as an RFC, for the API to stabilize in .NET and, for the flows concerned, for ML-KEM suites to arrive in HPKE.
Method: facts verified against the sources cited below, article reviewed and approved by Frédéric LENQUETTE. Our editorial policy.
Share this article