.NET cryptography

System.Security.Cryptography and SslStream in .NET.

Available

PQC is supported in a stable release, but you have to opt in.

Ecosystem
.NET
Homepage
learn.microsoft.com
Repository
github.com/dotnet/runtime
Last verified

What to do

ML-KEM and ML-DSA: supported in current releases; the sources don't state the first version.

Cryptography provided by

.NET cryptography relies on these libraries for its asymmetric cryptography. Its PQC support depends on theirs.

Algorithm support

AlgorithmSupportSinceOn by defaultExperimentalNotes
ML-KEM
FIPS 203
Supported[1]–?No
ML-DSA
FIPS 204
Supported[2]–?No
SLH-DSA
FIPS 205
Unknown–––
Hybrid TLS
e.g. X25519MLKEM768
Unknown–––

Roadmap

No public roadmap recorded.

FIPS validation (PQC)

Unknown.

Libraries that rely on .NET cryptography

Evidence

  1. .NET 10.0.12 · release notes · retrieved 2026-11-17
    * [release/10.0] Fix IsSupported tests for ML-KEM by @github-actions[bot] in https://github.com/dotnet/runtime/pull/132512
  2. .NET 10.0.10 · release notes · retrieved 2026-11-17
    * [release/10.0] Fix blob type in CopyWithPrivateKey for ML-DSA by @github-actions[bot] in https://github.com/dotnet/runtime/pull/129865

Out of date? Ask us to re-check .NET cryptography against its latest releases, or suggest a correction or edit the data file on GitHub.

Machine-readable: /api/libraries/dotnet-crypto.json · Data from PQC Deps, CC BY 4.0.