Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Vendor: Microsoft · https://learn.microsoft.com/en-us/dotnet/core/whats-new/dotnet-10/libraries · pkg:github/dotnet/runtime · Last reviewed 2026-12-05 · History

Summary

  • .NET 10 has ML-KEM (MLKem), ML-DSA (MLDsa), SLH-DSA (SlhDsa) and composite ML-DSA (CompositeMLDsa): key encapsulation and signature, no hybrid TLS API.12
  • Availability depends on the OS: OpenSSL 3.5 or newer, or Windows CNG with PQC support; check IsSupported.2
  • SLH-DSA and composite ML-DSA are marked [Experimental] (diagnostic SYSLIB5006).12
  • TLS key agreement is left to the OS stack (SslStream, Kestrel); on Windows Schannel the hybrid groups are available and not default.3
  • ML-DSA certificates work with SslStream on TLS 1.3 when the OS and peer support them; ML-KEM certificates cannot be used for TLS.1

Enable TLS hybrid groups in the OS, on Windows with Enable-TlsEccCurve -Name "X25519_MLKEM768" -Position 0; disabling classical groups is also an OS setting, not .NET code.3

Cryptographic operations

  • MLKem (FIPS 203): MLKem.GenerateKey(MLKemAlgorithm.MLKem768), then Encapsulate and Decapsulate. Pure ML-KEM; nothing read combines it with a classical exchange.12
  • MLDsa (FIPS 204) signs and verifies, including external mu and HashML-DSA (“PreHash”); SlhDsa implements FIPS 205; CompositeMLDsa follows an IETF draft (draft 8 at .NET 10 GA), first for RSA variants.2 They plug into CertificateRequest, SignedCms and COSE signing.1
  • TLS: application code “makes no assertions about TLS protocol version, nor ciphersuites, nor groups”; CipherSuitesPolicy works only on Linux, elsewhere suites “are governed by the OS”.3 No .NET API to choose TLS groups (checked 2026-12-05). SslProtocols can restrict protocol versions.3
  • Windows: Schannel groups need enabling, see Windows.3
  • Linux: system OpenSSL 3.5 or newer for PQC;12 see OpenSSL.
  • macOS: .NET 10 adds opt-in client-side TLS 1.3 via Network.framework (System.Net.Security.UseNetworkFramework); nothing documented on post-quantum groups (checked 2026-12-05).2 See Apple.

Versions

Change Version or date Package URL Source
MLKem, MLDsa, SlhDsa, CompositeMLDsa .NET 10, 2025-11 pkg:github/dotnet/runtime 24
Windows CNG backing for these classes Windows Server 2025 and Windows 11 24H2, 25H2, 2025-11 none 4
.NET Standard 2.0 access reference a 10.0 version of Microsoft.Bcl.Cryptography pkg:nuget/Microsoft.Bcl.Cryptography 1
  • Sources disagree on [Experimental]: the what’s-new page says MLDsa, SlhDsa and CompositeMLDsa are Experimental; the .NET blog (undated in the text read) says it was removed from MLKem and MLDsa classes and remains on some methods.12

Vendor commitments

  • None specific to .NET beyond Microsoft’s company target (checked 2026-12-05).

References

  1. .NET Blog, “Post-Quantum Cryptography in .NET”. https://devblogs.microsoft.com/dotnet/post-quantum-cryptography-in-dotnet/ (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8

  2. Microsoft Learn, “.NET 10 libraries: what’s new”. https://learn.microsoft.com/en-us/dotnet/core/whats-new/dotnet-10/libraries (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9

  3. Microsoft Community Hub, “ASP.NET, Kestrel and Schannel GA with TLS 1.3 Post-Quantum Cryptography”, 2026-07-14. https://techcommunity.microsoft.com/blog/post-quantum-crypto-tech-blog/asp-net-kestrel-and-schannel-ga-with-tls-1-3-post-quantum-cryptography/4536649 (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5

  4. Microsoft Community Hub, “Post-Quantum Cryptography APIs Now Generally Available on Microsoft Platforms”, 2025-11-12. https://techcommunity.microsoft.com/blog/microsoft-security-blog/post-quantum-cryptography-apis-now-generally-available-on-microsoft-platforms/4469093 (accessed 2026-12-05) ↩ ↩2


Edit: .NET

If you give an email address it is recorded publicly as the author of the commit, and GitHub will link the commit to your account if that address belongs to one.

Edits are reviewed before they appear. By submitting you release your contribution under CC BY-SA 4.0. Read the editorial guidelines first.

This site uses Just the Docs, a documentation theme for Jekyll.