BouncyCastle.Cryptography
2.2.1
Prefix Reserved
Advisory: https://github.com/advisories/GHSA-8xfc-gm6g-vgpv | Severity: moderate |
Advisory: https://github.com/advisories/GHSA-v435-xc8x-wvr9 | Severity: moderate |
Advisory: https://github.com/advisories/GHSA-m44j-cfrm-g8qc | Severity: moderate |
See the version list below for details.
dotnet add package BouncyCastle.Cryptography --version 2.2.1
NuGet\Install-Package BouncyCastle.Cryptography -Version 2.2.1
<PackageReference Include="BouncyCastle.Cryptography" Version="2.2.1" />
paket add BouncyCastle.Cryptography --version 2.2.1
#r "nuget: BouncyCastle.Cryptography, 2.2.1"
// Install BouncyCastle.Cryptography as a Cake Addin #addin nuget:?package=BouncyCastle.Cryptography&version=2.2.1 // Install BouncyCastle.Cryptography as a Cake Tool #tool nuget:?package=BouncyCastle.Cryptography&version=2.2.1
The Bouncy Castle Cryptography Library For .NET
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: CRYSTALS-Dilithium, CRYSTALS-Kyber, Falcon, SPHINCS+, Classic McEliece, FrodoKEM, NTRU, NTRU Prime, Picnic, Saber, BIKE, and SIKE. These should all be considered EXPERIMENTAL and subject to change or removal. SIKE in particular is already slated for removal and should be used for research purposes only.
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 office@bouncycastle.org.
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
For those who are interested, there are 2 mailing lists for participation in this project. To subscribe use the links below and include the word subscribe in the message body. (To unsubscribe, replace subscribe with unsubscribe in the message body)
- announce-crypto-csharp-request@bouncycastle.org
This mailing list is for new release announcements only, general subscribers cannot post to it. - dev-crypto-csharp-request@bouncycastle.org
This mailing list is for discussion of development of the package. This includes bugs, comments, requests for enhancements, questions about use or operation.
NOTE: You need to be subscribed to send mail to the above mailing list.
Feedback
If you want to provide feedback directly to the members of The Legion then please use feedback-crypto@bouncycastle.org. If you want to help this project survive please consider donating.
For bug reporting/requests you can report issues on github, or via feedback-crypto@bouncycastle.org 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 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.1
- No dependencies.
-
.NETStandard 2.0
- No dependencies.
-
net6.0
- No dependencies.
NuGet packages (351)
Showing the top 5 NuGet packages that depend on BouncyCastle.Cryptography:
Package | Downloads |
---|---|
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 | Contact us on telegram: https://t.me/npoidevs |
|
iTextSharp
PLEASE NOTE: iTextSharp is EOL, and has been replaced by iText. Only security fixes will be added We HIGHLY recommend customers use iText for new projects, and to consider moving existing projects from iTextSharp to iText 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 is available under AGPL and Commercial license. iText Community: https://www.nuget.org/packages/itext/ iText 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 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: https://stackoverflow.com/questions/tagged/itext |
|
Testcontainers
Testcontainers for .NET is a library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions. |
GitHub repositories (72)
Showing the top 5 popular GitHub repositories that depend on BouncyCastle.Cryptography:
Repository | Stars |
---|---|
mRemoteNG/mRemoteNG
mRemoteNG is the next generation of mRemote, open source, tabbed, multi-protocol, remote connections manager.
|
|
JeffreySu/WeiXinMPSDK
微信全平台 .NET SDK, Senparc.Weixin for C#,支持 .NET Framework 及 .NET Core、.NET 8.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
A simple ACME client for Windows (for use with Let's Encrypt et al.)
|
|
openiddict/openiddict-core
Flexible and versatile OAuth 2.0/OpenID Connect stack for .NET
|
Version | Downloads | Last updated | |
---|---|---|---|
2.5.0-beta.105 | 1,744 | 10/6/2024 | |
2.5.0-beta.79 | 1,595 | 9/11/2024 | |
2.4.0 | 7,908,688 | 5/27/2024 | |
2.3.1 | 5,401,474 | 5/7/2024 | |
2.3.0 | 5,610,013 | 2/5/2024 | |
2.2.1 | 30,868,246 | 4/21/2023 | |
2.2.0 | 83,185 | 4/17/2023 | |
2.1.1 | 5,512,596 | 2/18/2023 | |
2.1.0 | 2,564 | 2/18/2023 | |
2.0.0 | 2,103,147 | 11/15/2022 |