PCL Crypto provides a consistent, portable set of crypto APIs for .NET, Windows Phone 8.0 & 8.1, Windows Store, Xamarin.iOS, Xamarin.Android, and Silverlight.
This makes it easier to create cross-platform .NET libraries and apps.
Crypto functionality includes asymmetric and symmetric encryption and signatures, and key derivation.
PCLCrypto calls into each native platform's crypto API for maximum performance. For RSA operations this produces a 2-100X improvement in performance on Android and iOS over using the standard RSACryptoServiceProvider API.

There is a newer version of this package available.
See the version list below for details.

Requires NuGet 2.8.3 or higher.

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

Release Notes

Merged PclCrypto.Abstractions.dll into PclCrypto.dll.

Showing the top 10 GitHub repositories that depend on PCLCrypto:

Repository Stars
Cross-platform .NET sample microservices and container based application that runs on Linux Windows and macOS. Powered by .NET Core 3.0, Docker Containers and Azure Kubernetes Services. Supports Visual Studio, VS for Mac and CLI based environments with Docker CLI, dotnet CLI, VS Code or any other code editor.
Sample apps built using the Xamarin.Forms framework
Plugins for Xamarin
The mobile app vault (iOS and Android).
The official AWS SDK for .NET. For more information on the AWS SDK for .NET, see our web site:
Connect tiny devices to Microsoft Azure services to build IoT solutions
Building IoT or Mobile solutions are fun and exciting. This year for Build, we wanted to show the amazing scenarios that can come together when these two are combined. So, we went and developed a sample application. MyDriving uses a wide range of Azure services to process and analyze car telemetry data for both real-time insights and long-term patterns and trends. The following features are supported in the current version of the mobile app.
Cross-platform Xamarin.Forms sample for managing stores.

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
2.1.32-alpha 92,533 10/5/2018
2.1.27-alpha 31,709 6/19/2018
2.1.17-alpha-g5b1e8dff8c 9,538 3/10/2018
2.0.147 2,048,761 4/2/2016
2.0.145 4,658 3/30/2016
2.0.144 1,012 3/26/2016
2.0.140 4,951 3/21/2016
2.0.131-rc 472 3/19/2016
2.0.125-rc 401 3/17/2016
1.1.86-beta 1,651 11/14/2015
1.0.86 155,903 11/8/2015
1.0.82 1,177 11/5/2015
1.0.80 3,288 10/18/2015 231,537 5/11/2015 41,278 4/25/2015 13,649 3/13/2015
1.0.0-beta2 1,254 1/11/2015
1.0.0-beta1 507 1/3/2015 7,325 10/14/2014 5,283 6/14/2014 163,475 4/19/2014
0.4.1-beta 516 3/31/2014
0.4.0-beta 449 3/23/2014
0.3.1-beta 469 3/5/2014
0.3.0-beta 478 3/3/2014
0.2.0-beta 441 3/3/2014
0.1.1-alpha 467 3/1/2014
0.1.0-alpha 1,911 2/28/2014
Show less