VOOZH about

URL: https://www.nuget.org/packages/Microsoft.Bcl.Cryptography/

⇱ NuGet Gallery | Microsoft.Bcl.Cryptography 10.0.9




👁 Image
Microsoft.Bcl.Cryptography 10.0.9

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Microsoft.Bcl.Cryptography --version 10.0.9
 
 
NuGet\Install-Package Microsoft.Bcl.Cryptography -Version 10.0.9
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.Bcl.Cryptography" Version="10.0.9" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.Bcl.Cryptography" Version="10.0.9" />
 
Directory.Packages.props
<PackageReference Include="Microsoft.Bcl.Cryptography" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.Bcl.Cryptography --version 10.0.9
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Microsoft.Bcl.Cryptography, 10.0.9"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Microsoft.Bcl.Cryptography@10.0.9
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.Bcl.Cryptography&version=10.0.9
 
Install as a Cake Addin
#tool nuget:?package=Microsoft.Bcl.Cryptography&version=10.0.9
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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.

Product Versions Compatible and additional computed target framework versions.
.NET net5.0 net5.0 was computed.  net5.0-windows net5.0-windows was computed.  net6.0 net6.0 was computed.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 was computed.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 is compatible.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 is compatible.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
.NET Core netcoreapp2.0 netcoreapp2.0 was computed.  netcoreapp2.1 netcoreapp2.1 was computed.  netcoreapp2.2 netcoreapp2.2 was computed.  netcoreapp3.0 netcoreapp3.0 was computed.  netcoreapp3.1 netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 netstandard2.0 is compatible.  netstandard2.1 netstandard2.1 is compatible. 
.NET Framework net461 net461 was computed.  net462 net462 is compatible.  net463 net463 was computed.  net47 net47 was computed.  net471 net471 was computed.  net472 net472 was computed.  net48 net48 was computed.  net481 net481 was computed. 
MonoAndroid monoandroid monoandroid was computed. 
MonoMac monomac monomac was computed. 
MonoTouch monotouch monotouch was computed. 
Tizen tizen40 tizen40 was computed.  tizen60 tizen60 was computed. 
Xamarin.iOS xamarinios xamarinios was computed. 
Xamarin.Mac xamarinmac xamarinmac was computed. 
Xamarin.TVOS xamarintvos xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (42)

Showing the top 5 NuGet packages that depend on Microsoft.Bcl.Cryptography:

Package Downloads
Microsoft.IdentityModel.Tokens

Includes types that provide support for SecurityTokens, Cryptographic operations: Signing, Verifying Signatures, Encryption.

System.Security.Cryptography.Pkcs

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

System.Security.Cryptography.Xml

Provides classes to support the creation and validation of XML digital signatures. The classes in this namespace implement the World Wide Web Consortium Recommendation, "XML-Signature Syntax and Processing", described at http://www.w3.org/TR/xmldsig-core/. Commonly Used Types: System.Security.Cryptography.Xml.CipherData System.Security.Cryptography.Xml.CipherReference System.Security.Cryptography.Xml.DataObject System.Security.Cryptography.Xml.DataReference System.Security.Cryptography.Xml.DSAKeyValue System.Security.Cryptography.Xml.EncryptedData System.Security.Cryptography.Xml.EncryptedKey System.Security.Cryptography.Xml.EncryptedReference System.Security.Cryptography.Xml.EncryptedType System.Security.Cryptography.Xml.EncryptedXml System.Security.Cryptography.Xml.EncryptionMethod System.Security.Cryptography.Xml.EncryptionProperty System.Security.Cryptography.Xml.EncryptionPropertyCollection System.Security.Cryptography.Xml.KeyInfo System.Security.Cryptography.Xml.KeyInfoClause System.Security.Cryptography.Xml.KeyInfoEncryptedKey System.Security.Cryptography.Xml.KeyInfoName System.Security.Cryptography.Xml.KeyInfoNode System.Security.Cryptography.Xml.KeyInfoRetrievalMethod System.Security.Cryptography.Xml.KeyInfoX509Data System.Security.Cryptography.Xml.KeyReference System.Security.Cryptography.Xml.Reference System.Security.Cryptography.Xml.ReferenceList System.Security.Cryptography.Xml.RSAKeyValue System.Security.Cryptography.Xml.Signature System.Security.Cryptography.Xml.SignedInfo System.Security.Cryptography.Xml.SignedXml System.Security.Cryptography.Xml.Transform System.Security.Cryptography.Xml.TransformChain System.Security.Cryptography.Xml.XmlDecryptionTransform System.Security.Cryptography.Xml.XmlDsigBase64Transform System.Security.Cryptography.Xml.XmlDsigC14NTransform System.Security.Cryptography.Xml.XmlDsigC14NWithCommentsTransform System.Security.Cryptography.Xml.XmlDsigEnvelopedSignatureTransform System.Security.Cryptography.Xml.XmlDsigExcC14NTransform System.Security.Cryptography.Xml.XmlDsigExcC14NWithCommentsTransform System.Security.Cryptography.Xml.XmlDsigXPathTransform System.Security.Cryptography.Xml.XmlDsigXsltTransform System.Security.Cryptography.Xml.XmlLicenseTransform

Microsoft.Data.SqlClient

The current data provider for SQL Server and Azure SQL databases. This has replaced System.Data.SqlClient. These classes provide access to SQL and encapsulate database-specific protocols, including tabular data stream (TDS). Commonly Used Types: Microsoft.Data.SqlClient.SqlConnection Microsoft.Data.SqlClient.SqlException Microsoft.Data.SqlClient.SqlParameter Microsoft.Data.SqlClient.SqlDataReader Microsoft.Data.SqlClient.SqlCommand Microsoft.Data.SqlClient.SqlTransaction Microsoft.Data.SqlClient.SqlParameterCollection Microsoft.Data.SqlClient.SqlClientFactory When using NuGet 3.x this package requires at least version 3.4.

System.DirectoryServices.AccountManagement

Provides uniform access and manipulation of user, computer, and group security principals across the multiple principal stores: Active Directory Domain Services (AD DS), Active Directory Lightweight Directory Services (AD LDS), and Machine SAM (MSAM).

GitHub repositories (16)

Showing the top 16 popular GitHub repositories that depend on Microsoft.Bcl.Cryptography:

Repository Stars
openiddict/openiddict-core
Flexible and versatile OAuth 2.0/OpenID Connect stack for .NET
sshnet/SSH.NET
SSH.NET is a Secure Shell (SSH) library for .NET, optimized for parallelism.
PSAppDeployToolkit/PSAppDeployToolkit
Project Homepage & Forums
webprofusion/certify
Professional ACME Client for Windows (and now cross-platform via Certify Management Hub). Certificate Management UI, powered by Let's Encrypt and compatible with all ACME v2 CAs. Used by over 150,000 organisations. Download from certifytheweb.com
dotnet/SqlClient
Microsoft.Data.SqlClient provides database connectivity to SQL Server for .NET applications.
pnp/powershell
PnP PowerShell
Aguafrommars/TheIdServer
OpenID/Connect, OAuth2, WS-Federation and SAML 2.0 server based on Duende IdentityServer and ITFoxtec Identity SAML 2.0 with its admin UI
SparkDevNetwork/Rock
An open source CMS, Relationship Management System (RMS) and Church Management System (ChMS) all rolled into one.
vcsjones/AzureSignTool
SignTool Library and Azure Key Vault Support
martinjw/dbschemareader
Read database metadata (from SqlServer/Oracle/MySql/SQLite/PostgreSql/DB2 etc) into one simple model
confluentinc/confluent-kafka-dotnet
Confluent's Apache Kafka .NET client
PeterWaher/IoTGateway
New project
OpenTouryoProject/OpenTouryo
”Open棟梁”は、長年の.NETアプリケーション開発実績にて蓄積したノウハウに基づき開発した.NET用アプリケーション フレームワークです。 (”OpenTouryo” , is an application framework for .NET which was developed using the accumulated know-how with a long track record in .NET application development.)
tmds/Tmds.Ssh
.NET SSH client library
Yubico/Yubico.NET.SDK
A YubiKey SDK for .NET developers
CIRFMF/ksef-client-csharp
Version Downloads Last Updated
11.0.0-preview.5.26302.115 734 6/9/2026
11.0.0-preview.4.26230.115 4,691 5/12/2026
11.0.0-preview.3.26207.106 4,089 4/14/2026
11.0.0-preview.2.26159.112 4,143 3/10/2026
11.0.0-preview.1.26104.118 3,587 2/10/2026
10.0.9 86,525 6/9/2026
10.0.8 530,634 5/12/2026
10.0.7 1,648,056 4/21/2026
10.0.6 725,473 4/14/2026
10.0.5 658,327 3/12/2026
10.0.4 78,980 3/10/2026
10.0.3 1,461,817 2/10/2026
10.0.2 2,643,584 1/13/2026
10.0.1 795,852 12/9/2025
9.0.17 9,077 6/9/2026
9.0.16 65,388 5/12/2026
9.0.15 500,722 4/14/2026
9.0.14 71,538 3/10/2026
9.0.13 7,371,407 2/10/2026
9.0.12 90,686 1/13/2026
Loading failed