The Bouncy Castle Crypto package is a C# 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 []( In addition to providing basic cryptography algorithms, the package also provides support for CMS, TSP, X.509 certificate generation and a variety of other standards such as OpenPGP.

Install-Package BouncyCastle -Version
dotnet add package BouncyCastle --version
<PackageReference Include="BouncyCastle" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BouncyCastle --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Defects Fixed
EdDSA verifiers now reject overly long signatures.
Fixed field reduction for custom secp128r1 curve.
ASN.1: Enforce no leading zeroes in OID branches (longer than 1 character).
Additional Features and Functionality
TLS: BasicTlsPskIdentity now reusable (returns cloned array from GetPsk).
Improved performance for multiple ECDSA verifications using same public key.
Support has been added for ChaCha20-Poly1305 AEAD mode from RFC 7539.
PKCS12: Improved support for certificate-only key stores without password.


This package has no dependencies.

NuGet packages (294)

Showing the top 5 NuGet packages that depend on BouncyCastle:

Package Downloads
MySql.Data.MySqlClient .Net Core Class Library
PLEASE NOTE: iTextSharp is EOL, and has been replaced by iText 7. Only security fixes will be added We HIGHLY recommend customers use iText 7 for new projects, and to consider moving existing projects from iTextSharp to iText 7 to benefit from the many improvements such as: - HTML to PDF (PDF/A) conversion - PDF Redaction - SVG support - Better language support (Indic, Thai, Khmer, Arabic, Hebrew) - PDF Debugging for your IDE - Data Extraction - Better continued support and bugfixes - More modular, extensible handling of your document workflow - Extra practical add-ons - Encryption, hashing and digital signatures iText is a PDF library that allows you to CREATE, ADAPT, INSPECT and MAINTAIN documents in the Portable Document Format (PDF), allowing you to add PDF functionality to your software projects with ease. We even have documentation to help you get coding. iText 7 is available under AGPL and Commercial license. iText 7 Community: iText 7 is a complete re-write of iText 5, allowing you to choose your adventure with add-ons, all based on a simple, modular code structure that is easy to use and well documented. iText 7 includes pdfDebug, the first debugging tool that gives you a clear overview of your content streams and document structure as well as pdfCalligraph, allowing you to leverage advanced typography. Several iText engineers are actively supporting the project on StackOverflow:
The DocuSign NuGet package makes integrating DocuSign into your apps and websites a super fast and painless process. The library is open sourced on GitHub, look for the docusign-csharp-client repository. Join the eSign revolution!
HexTypes for encoding and encoding String, BigInteger, this is specific for Ethereum
RLP Encoding and decoding

GitHub repositories (57)

Showing the top 5 popular GitHub repositories that depend on BouncyCastle:

Repository Stars
Store securely encrypted backups in the cloud!
mRemoteNG is the next generation of mRemote, open source, tabbed, multi-protocol, remote connections manager.
Windows tray utility / filesystem watcher / launcher for Syncthing
An easy and fast way to build automation and workflows on Windows, Linux, macOS, and the cloud.
NiceHash Miner

Version History

Version Downloads Last updated 391,684 4/8/2020
1.8.5 2,623,480 3/25/2019
1.8.4 859,942 11/2/2018 892,123 10/2/2018
1.8.2 1,726,519 4/14/2018
1.8.1 5,896,862 4/26/2016
1.7.0 2,588,626 4/30/2011