VOOZH about

URL: https://www.nuget.org/packages/BouncyCastle.Cryptography/

⇱ NuGet Gallery | BouncyCastle.Cryptography 2.6.2




👁 Image
BouncyCastle.Cryptography 2.6.2

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package BouncyCastle.Cryptography --version 2.6.2
 
 
NuGet\Install-Package BouncyCastle.Cryptography -Version 2.6.2
 
 
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="BouncyCastle.Cryptography" Version="2.6.2" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BouncyCastle.Cryptography" Version="2.6.2" />
 
Directory.Packages.props
<PackageReference Include="BouncyCastle.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 BouncyCastle.Cryptography --version 2.6.2
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BouncyCastle.Cryptography, 2.6.2"
 
 
#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 BouncyCastle.Cryptography@2.6.2
 
 
#: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=BouncyCastle.Cryptography&version=2.6.2
 
Install as a Cake Addin
#tool nuget:?package=BouncyCastle.Cryptography&version=2.6.2
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

The Bouncy Castle Cryptography Library For .NET

👁 NuGet
👁 NuGet

The Bouncy Castle Cryptography library is a .NET implementation of cryptographic algorithms and protocols. It was developed by the Legion of the Bouncy Castle, a registered Australian Charity, with a little help! The Legion, and the latest goings on with this package, can be found at https://www.bouncycastle.org.

In addition to providing basic cryptography algorithms, the package also provides support for CMS, OpenPGP, (D)TLS, TSP, X.509 certificate generation and more. The package also includes implementations of the following NIST Post-Quantum Cryptography Standardization algorithms: ML-DSA, ML-KEM, SLH-DSA, Falcon, Classic McEliece, FrodoKEM, NTRU, NTRU Prime, Picnic, Saber, and BIKE. These should all be considered EXPERIMENTAL and subject to change or removal.

The Legion also gratefully acknowledges the contributions made to this package by others (see here for the current list). If you would like to contribute to our efforts please feel free to get in touch with us or visit our donations page, sponsor some specific work, or purchase a support contract.

Except where otherwise stated, this software is distributed under a license based on the MIT X Consortium license. To view the license, see here. This software includes a modified Bzip2 library, which is licensed under the Apache Software License, Version 2.0.

Note: This source tree is not the FIPS version of the APIs - if you are interested in our FIPS version please visit us here or contact us directly at .

Installing BouncyCastle

You should install BouncyCastle with NuGet:

Install-Package BouncyCastle.Cryptography

Or via the .NET Core command line interface:

dotnet add package BouncyCastle.Cryptography

Either commands, from Package Manager Console or .NET Core CLI, will download and install BouncyCastle.Cryptography.

Mailing Lists

To subscribe use the link below and include the word subscribe in the message body. (To unsubscribe, replace subscribe with unsubscribe in the message body).


  • This mailing list is for new release announcements only, general subscribers cannot post to it.

Note that the former dev-crypto-csharp mailing list has been discontinued. Please use https://github.com/bcgit/bc-csharp/discussions instead for usage questions, enhancement requests, etc.

Feedback

If you want to provide feedback directly to the members of The Legion then please use . If you want to help this project survive please consider donating.

For bug reporting/requests you can report issues on github, or via if required. We will accept pull requests based on this repository as well, but only on the basis that any code included may be distributed under the Bouncy Castle License.

Finally

Enjoy!

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 is compatible.  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 was computed.  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 was computed.  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 was computed.  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 was computed. 
.NET Framework net461 net461 is compatible.  net462 net462 was computed.  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.
  • .NETFramework 4.6.1

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.
  • net6.0

    • No dependencies.

NuGet packages (738)

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

Package Downloads
SSH.NET

SSH.NET is a Secure Shell (SSH) library for .NET, optimized for parallelism.

MimeKit

MimeKit is an Open Source library for creating and parsing MIME, S/MIME and PGP messages on desktop and mobile platforms. It also supports parsing of Unix mbox files. Unlike any other .NET MIME parser, MimeKit's parser does not need to parse string input nor does it use a TextReader. Instead, it parses raw byte streams, thus allowing it to better support undeclared 8bit text in headers as well as message bodies. It also means that MimeKit's parser is significantly faster than other .NET MIME parsers. MimeKit's parser also uses a real tokenizer when parsing the headers rather than regex or string.Split() like most other .NET MIME parsers. This means that MimeKit is much more RFC-compliant than any other .NET MIME parser out there, including the commercial implementations. In addition to having a far superior parser implementation, MimeKit's object tree is not a derivative of System.Net.Mail objects and thus does not suffer from System.Net.Mail's limitations. API documentation can be found on the web at http://www.mimekit.net/docs For those that need SMTP, POP3 or IMAP support, check out https://github.com/jstedfast/MailKit

MySql.Data

MySql.Data.MySqlClient .Net Core Class Library

NPOI

.NET port of Apache POI

Testcontainers

Testcontainers for .NET is a library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.

GitHub repositories (128)

Showing the top 20 popular GitHub repositories that depend on BouncyCastle.Cryptography:

Repository Stars
duplicati/duplicati
Store securely encrypted backups in the cloud!
mRemoteNG/mRemoteNG
mRemoteNG is the next generation of mRemote, open source, tabbed, multi-protocol, remote connections manager.
TechnitiumSoftware/DnsServer
Technitium DNS Server
JeffreySu/WeiXinMPSDK
微信全平台 .NET SDK, Senparc.Weixin for C#,支持 .NET Framework 及 .NET Core、.NET 10.0。已支持微信公众号、小程序、小游戏、微信支付、企业微信/企业号、开放平台、JSSDK、微信周边等全平台。 WeChat SDK for C#.
nissl-lab/npoi
a .NET library that can read/write Office formats without Microsoft Office installed. No COM+, no interop.
win-acme/win-acme
Automate SSL/TLS certificates on Windows with ease
timschneeb/GalaxyBudsClient
Unofficial Galaxy Buds Manager for Windows, macOS, Linux, and Android
sshnet/SSH.NET
SSH.NET is a Secure Shell (SSH) library for .NET, optimized for parallelism.
testcontainers/testcontainers-dotnet
A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.
ravendb/ravendb
ACID Document Database
neo-project/neo
NEO Smart Economy
evolutionary-architecture/evolutionary-architecture-by-example
Navigate the complex landscape of .NET software architecture with our step-by-step, story-like guide. Unpack the interplay between modular monoliths, microservices, domain-driven design, and various architectural patterns. Go beyond the one-size-fits-all solutions and understand how to blend these approaches based on your unique needs.
ChangemakerStudios/Papercut-SMTP
Papercut SMTP -- The Simple Desktop Email Server
shrimqy/Sefirah
Phone Link / KDE Connect alternative
OrchardCMS/Orchard
Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform. Check out the next generation of this software built on ASP.NET Core: https://github.com/OrchardCMS/OrchardCore
OPCFoundation/UA-.NETStandard
OPC Unified Architecture .NET Standard
ArduPilot/MissionPlanner
Mission Planner Ground Control Station for ArduPilot (c# .net)
Nethereum/Nethereum
Ethereum .Net cross platform integration library
jstedfast/MimeKit
A .NET MIME creation and parser library with support for S/MIME, PGP, DKIM, TNEF and Unix mbox spools.
justcoding121/titanium-web-proxy
A cross-platform asynchronous HTTP(S) proxy server in C#.
Version Downloads Last Updated
2.7.0-beta.98 72,363 7/31/2025
2.6.2 50,159,515 7/31/2025
2.6.1 14,140,336 5/22/2025
2.6.0 402,384 5/15/2025
2.5.1 32,935,945 2/7/2025
2.5.0 14,327,753 12/1/2024
2.4.0 100,810,709 5/27/2024
2.3.1 48,791,549 5/7/2024
2.3.0 11,533,917 2/5/2024 2.3.0 has at least one vulnerability with moderate severity.
2.2.1 57,703,011 4/21/2023 2.2.1 has at least one vulnerability with moderate severity.
2.2.0 110,576 4/17/2023 2.2.0 has at least one vulnerability with moderate severity.
2.1.1 11,066,803 2/18/2023 2.1.1 has at least one vulnerability with moderate severity.
Loading failed