Microsoft.Bcl.Cryptography 11.0.0-preview.4.26230.115

About

This library provides some cryptographic types and functionality for .NET Standard and .NET Framework. This library is not necessary nor recommended when targeting versions of .NET that include the relevant support.

Key Features

  • Enables the use of some cryptographic functionality on older .NET platforms.

How to Use

This package should only be used by platforms where the desired functionality is not built-in.

using System.Security.Cryptography;

internal static class Program
{
    private static void Main()
    {
        byte[] key = LoadKey();
        using SP800108HmacCounterKdf kbkdf = new(key, HashAlgorithmName.SHA256);
        byte[] derivedKey = kbkdf.DeriveKey("label"u8, "context"u8, derivedKeyLengthInBytes: 32);
    }
}

Main Types

The main types provided by this library are:

  • System.Security.Cryptography.AesGcm
  • System.Security.Cryptography.CompositeMLDsa
  • System.Security.Cryptography.MLDsa
  • System.Security.Cryptography.MLKem
  • System.Security.Cryptography.SlhDsa
  • System.Security.Cryptography.SP800108HmacCounterKdf
  • System.Security.Cryptography.X509Certificates.X509CertificateLoader

Additional Documentation

Feedback & Contributing

Microsoft.Bcl.Cryptography is released as open source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.

Showing the top 20 packages that depend on Microsoft.Bcl.Cryptography.

Packages Downloads
System.Security.Cryptography.Pkcs
Provides support for PKCS and CMS algorithms. Commonly Used Types: System.Security.Cryptography.Pkcs.EnvelopedCms
3

https://go.microsoft.com/fwlink/?LinkID=799421

.NET 10.0

  • No dependencies.

.NET 11.0

  • No dependencies.

.NET Framework 4.6.2

.NET Standard 2.0

.NET Standard 2.1

Version Downloads Last updated
11.0.0-preview.5.26302.115 1 06/12/2026
11.0.0-preview.4.26230.115 1 05/27/2026
11.0.0-preview.3.26207.106 3 04/27/2026
11.0.0-preview.2.26159.112 3 04/27/2026
11.0.0-preview.1.26104.118 3 04/27/2026
10.0.9 1 06/12/2026
10.0.8 1 05/26/2026
10.0.7 3 04/27/2026
10.0.6 3 04/27/2026
10.0.5 3 04/27/2026
10.0.4 3 04/27/2026
10.0.3 3 04/27/2026
10.0.2 3 04/27/2026
10.0.1 3 04/27/2026
10.0.0 3 04/27/2026
10.0.0-rc.2.25502.107 3 04/27/2026
10.0.0-rc.1.25451.107 3 04/27/2026
10.0.0-preview.7.25380.108 3 04/27/2026
10.0.0-preview.6.25358.103 3 04/27/2026
10.0.0-preview.5.25277.114 3 04/27/2026
10.0.0-preview.4.25258.110 3 04/27/2026
10.0.0-preview.3.25171.5 3 04/27/2026
10.0.0-preview.2.25163.2 3 04/27/2026
10.0.0-preview.1.25080.5 3 04/27/2026
9.0.17 1 06/12/2026
9.0.16 1 05/26/2026
9.0.15 3 04/27/2026
9.0.14 3 04/27/2026
9.0.13 3 04/27/2026
9.0.12 3 04/27/2026
9.0.11 3 04/27/2026
9.0.10 3 04/27/2026
9.0.9 3 04/27/2026
9.0.8 3 04/27/2026
9.0.7 3 04/27/2026
9.0.6 3 04/27/2026
9.0.5 3 04/27/2026
9.0.4 3 04/27/2026
9.0.3 3 04/27/2026
9.0.2 3 04/27/2026
9.0.1 3 04/27/2026
9.0.0 3 04/27/2026
9.0.0-rc.2.24473.5 3 04/27/2026
9.0.0-rc.1.24431.7 3 04/27/2026
9.0.0-preview.7.24405.7 3 04/27/2026
9.0.0-preview.6.24327.7 3 04/27/2026
9.0.0-preview.5.24306.7 3 04/27/2026
9.0.0-preview.4.24266.19 3 04/27/2026
9.0.0-preview.3.24172.9 3 04/27/2026
9.0.0-preview.2.24128.5 3 04/27/2026
9.0.0-preview.1.24080.9 3 04/27/2026
8.0.0 3 04/27/2026
8.0.0-rc.2.23479.6 3 04/27/2026
8.0.0-rc.1.23419.4 3 04/27/2026
8.0.0-preview.7.23375.6 3 04/27/2026
8.0.0-preview.6.23329.7 3 04/27/2026
8.0.0-preview.5.23280.8 3 04/27/2026
8.0.0-preview.4.23259.5 3 04/27/2026
8.0.0-preview.3.23174.8 3 04/27/2026
8.0.0-preview.2.23128.3 3 04/27/2026