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](diagnosticSYSLIB5006).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
SslStreamon 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), thenEncapsulateandDecapsulate. Pure ML-KEM; nothing read combines it with a classical exchange.12MLDsa(FIPS 204) signs and verifies, including external mu and HashML-DSA (“PreHash”);SlhDsaimplements FIPS 205;CompositeMLDsafollows an IETF draft (draft 8 at .NET 10 GA), first for RSA variants.2 They plug intoCertificateRequest,SignedCmsand COSE signing.1- TLS: application code “makes no assertions about TLS protocol version, nor ciphersuites, nor groups”;
CipherSuitesPolicyworks only on Linux, elsewhere suites “are governed by the OS”.3 No .NET API to choose TLS groups (checked 2026-12-05).SslProtocolscan 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 |
Vendor commitments
- None specific to .NET beyond Microsoft’s company target (checked 2026-12-05).
References
-
.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
-
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
-
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
-
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