Portable.BouncyCastle 1.8.1

Support for .NET 4, WP 8 SL, WP 8.1, Windows 8, MonoTouch, MonoAndroid, Xamarin.iOS, Core CLR

IMPORTANT: The Serpent cipher as of 1.8.0 is incompatible with the behaviour of Serpent in earlier releases; it has been modified to conform to the standard byte-order interpretation for blocks (and keys). The previous behaviour is available from 1.8.0 as the "Tnepres" cipher. See BMA-52 for more information if this may affect you.

Crypto features:
- Generation and parsing of PKCS-12 files.
- X.509: Generators and parsers for V1 and V3 certificates, V2 CRLs and attribute certificates.
- PBE algorithms supported by PbeUtilities: PBEwithMD2andDES-CBC, PBEwithMD2andRC2-CBC, PBEwithMD5andDES-CBC, PBEwithMD5andRC2-CBC, PBEwithSHA1andDES-CBC, PBEwithSHA1andRC2-CBC, PBEwithSHA-1and128bitRC4, PBEwithSHA-1and40bitRC4, PBEwithSHA-1and3-keyDESEDE-CBC, PBEwithSHA-1and2-keyDESEDE-CBC, PBEwithSHA-1and128bitRC2-CBC, PBEwithSHA-1and40bitRC2-CBC, PBEwithHmacSHA-1, PBEwithHmacSHA-224, PBEwithHmacSHA-256, PBEwithHmacRIPEMD128, PBEwithHmacRIPEMD160, and PBEwithHmacRIPEMD256.
- Signature algorithms supported by SignerUtilities: MD2withRSA, MD4withRSA, MD5withRSA, RIPEMD128withRSA, RIPEMD160withECDSA, RIPEMD160withRSA, RIPEMD256withRSA, SHA-1withRSA, SHA-224withRSA, SHA-256withRSAandMGF1, SHA-384withRSAandMGF1, SHA-512withRSAandMGF1, SHA-1withDSA, and SHA-1withECDSA.
- Symmetric key algorithms: AES, Blowfish, Camellia, CAST5, CAST6, ChaCha, DES, DESede, GOST28147, HC-128, HC-256, IDEA, ISAAC, Noekeon, RC2, RC4, RC5-32, RC5-64, RC6, Rijndael, Salsa20, SEED, Serpent, Skipjack, TEA/XTEA, Threefish, Tnepres, Twofish, VMPC and XSalsa20.
- Symmetric key modes: CBC, CFB, CTS, GOFB, OFB, OpenPGPCFB, and SIC (or CTR).
- Symmetric key paddings: ISO10126d2, ISO7816d4, PKCS-5/7, TBC, X.923, and Zero Byte.
- Asymmetric key algorithms: ElGamal, DSA, ECDSA, NaccacheStern and RSA (with blinding).
- Asymmetric key paddings/encodings: ISO9796d1, OAEP, and PKCS-1.
- AEAD block cipher modes: CCM, EAX, GCM and OCB.
- Digests: GOST3411, Keccak, MD2, MD4, MD5, RIPEMD128, RIPEMD160, RIPEMD256, RIPEMD320, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, SHA3, Tiger, and Whirlpool.
- XOFs: SHAKE.
- Signer mechanisms: DSA, ECDSA, ECGOST3410, ECNR, GOST3410, ISO9796d2, PSS, RSA, X9.31-1998.
- Key Agreement: Diffie-Hellman, EC-DH, EC-MQV, J-PAKE, SRP-6a.
- Macs: CBCBlockCipher, CFBBlockCipher, CMAC, GMAC, GOST28147, HMac, ISO9797 Alg. 3, Poly1305, SipHash, SkeinMac, VMPCMAC.
- PBE generators: PKCS-12, and PKCS-5 - schemes 1 and 2.
- OpenPGP (RFC 4880)
- Cryptographic Message Syntax (CMS, RFC 3852), including streaming API.
- Online Certificate Status Protocol (OCSP, RFC 2560).
- Time Stamp Protocol (TSP, RFC 3161).
- TLS/DTLS client/server up to version 1.2, with support for the most common ciphersuites and extensions, and many less common ones. Non-blocking API available.
- Elliptic Curve Cryptography: support for generic F2m and Fp curves, high-performance custom implementations for many standardized curves.
- Reading/writing of PEM files, including RSA and DSA keys, with a variety of encryptions.
- PKIX certificate path validation

There is a newer version of this package available.
See the version list below for details.
Install-Package Portable.BouncyCastle -Version 1.8.1
dotnet add package Portable.BouncyCastle --version 1.8.1
<PackageReference Include="Portable.BouncyCastle" Version="1.8.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Portable.BouncyCastle --version 1.8.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Portable.BouncyCastle, 1.8.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Portable.BouncyCastle as a Cake Addin
#addin nuget:?package=Portable.BouncyCastle&version=1.8.1

// Install Portable.BouncyCastle as a Cake Tool
#tool nuget:?package=Portable.BouncyCastle&version=1.8.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

NuGet packages (507)

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

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
NPOI
.NET port of Apache POI | Contact us on telegram: https://t.me/npoidevs
MiNET
MiNET - a Minecraft PocketEdition Server
KubernetesClient
Client library for the Kubernetes open source container orchestrator.
iTextSharp.LGPLv2.Core
iTextSharp.LGPLv2.Core is an unofficial port of the last LGPL version of the iTextSharp (V4.1.6) to .NET Core.

GitHub repositories (79)

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

Repository Stars
cefsharp/CefSharp
.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
quasar/Quasar
Remote Administration Tool for Windows
win-acme/win-acme
A simple ACME client for Windows (for use with Let's Encrypt et al.)
ravendb/ravendb
ACID Document Database
bitwarden/mobile
The mobile app vault (iOS and Android).

Version History

Version Downloads Last updated
1.8.10 629,975 2/19/2021
1.8.9 832,536 12/17/2020
1.8.8 2,303,592 10/5/2020
1.8.6.7 2,400,467 3/29/2020
1.8.6 2,469,839 2/24/2020
1.8.5.2 1,354,928 11/3/2019
1.8.5 13,637,704 2/8/2019
1.8.4 1,503,520 11/6/2018
1.8.3.37 67,955 10/17/2018
1.8.3 231,969 8/31/2018
1.8.2 5,702,956 4/10/2018
1.8.1.4 489,644 2/12/2018
1.8.1.3 10,431,700 8/17/2017
1.8.1.2 1,847,324 12/5/2016
1.8.1.1 3,074,107 6/29/2016
1.8.1 160,456 1/6/2016
1.8.0 135,412 11/23/2015
1.8.0-rc4 1,297 10/18/2015
1.8.0-rc3 771 10/17/2015
1.8.0-rc2 1,946 7/30/2015
1.8.0-RC1 1,095 4/25/2015
1.8.0-beta4-update1 1,026 2/19/2015
1.8.0-beta4 1,304 10/14/2014
1.8.0-beta3 963 8/28/2014
1.7.0.2 49,262 4/2/2015
1.7.0.1 22,919 8/26/2014
1.7.0 5,470 2/26/2014
Show less