1. Home
  2. /
  3. Download
  4. /
  5. Download Bouncy Castle C# .NET

Download Bouncy Castle for C# .NET

Welcome to the download page for Bouncy Castle C# .NET. In addition to the available access options, including through NuGet and direct download, you will find searchable release notes and links to API and other documentation.

Bouncy Castle C#
hero-sub-2

GitHub

Access the Bouncy Castle APIs C# .NET package on GitHub, where you can also report issues, join discussions, and contribute to the software.

Documentation 

Explore the Bouncy Castle for C# .NET and C# .NET FIPS documentation online for concise guidance and examples.

Join the discussion

You can ask questions and learn from specialists in the Bouncy Castle C# .NET forum on GitHub Discussions. We highly appreciate and value your input.

Report an issue

If you encounter any issues that require attention, feel free to report them in our GitHub repository.

Release notes

Find out detailed information about the latest release and search in older release notes.

Beta releases

The current working betas, when available, for the next release C# .NET can be found here. If you need a beta to be made available please ask by emailing feedback-crypto@bouncycastle.org.

Donate to support the Bouncy Castle APIs

Supporting Bouncy Castle is now a substantial effort, the Java API is now over 300,000 lines, the C# one well past 140,000.

Bouncy Castle C# .NET Downloads

Except where otherwise stated, this software is distributed under the regular Bouncy Castle license. For full details of other licenses involved, see Third party licenses

Distribution Files

The NuGet distribution collects all versions of BC C# .NET into one bundle.

Official NuGet Archive BouncyCastle.Cryptography 2.3.1

Specific Bouncy Castle C# .NET release for .NET 6.0.

  Binary API Documentation
.NET 6.0 BouncyCastle.Cryptography.dll BouncyCastle.Cryptography.xml

Specific Bouncy Castle C# .NET release for .NET 4.61.

  Binary  API Documentation
.NET 4.6.1 BouncyCastle.Cryptography.dll BouncyCastle.Cryptography.xml

Specific Bouncy Castle .NET C# release for .NET 2.0.

  Binary API Documentation
.NET 2.0 BouncyCastle.Cryptography.dll BouncyCastle.Cryptography.xml
Checksums

To confirm the integrity of the distributions, checksums are available:

Download Checksums

Release notes

Find out detailed information about the latest Bouncy Castle C# .NET releases and search in older release notes.  

Release 2.3.1
12 May, 2024
Defects Fixed TLS: Fixed timing side-channel for RSA key exchange (CVE-2024-30171 – “The Marvin Attack”). PSS: Fixed regression in 2.3.0...

Defects Fixed

  • TLS: Fixed timing side-channel for RSA key exchange (CVE-2024-30171 – “The Marvin Attack”).
  • PSS: Fixed regression in 2.3.0 when updating signer from a span.
  • EdDSA: Fixed verification infinite loop (regression in 2.1.0)
    – see corresponding bc-java issue (CVE-2024-30172).
  • EC: Restricted m value in F2m curves (CVE-2024-29857).

Additional Features and Functionality

  • ASN.1: Limited OID contents to 4096 bytes.

Notes

  • See the (cumulative) list of GitHub pull requests that we have accepted at bcgit/bc-csharp.