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.

GitHub repositories (51+)

Showing the top 5 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 97,739 4/8/2020
1.8.5 2,075,635 3/25/2019
1.8.4 757,537 11/2/2018 691,381 10/2/2018
1.8.2 1,542,431 4/14/2018
1.8.1 5,458,517 4/26/2016
1.7.0 2,404,464 4/30/2011