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.
#r "nuget: PCLCrypto,"
#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 PCLCrypto as a Cake Addin
#addin nuget:?package=PCLCrypto&version=

// Install PCLCrypto as a Cake Tool
#tool nuget:?package=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.

NuGet packages (68)

Showing the top 5 NuGet packages that depend on PCLCrypto:

Package Downloads
This library provides features for creating Windows and Xamarin mobile apps that connect to Azure Mobile Apps. Azure Mobile Apps allows you to develop an app with a scalable backed hosted in Azure App Service, with support for mobile authentication, offline sync, and push notifications. To learn more about Azure Mobile, go to http://azure.microsoft.com/mobile.
My package description.
Non-standard Extensions (utilities) to Xamarin-Auth (refresh-token)
Object parser and converter
A cross platform (Android, IOS and Windows) reusable library. Functionality include Cryptography Algorithms, Json (De)Serialization, Csv Exporter, Dynamic SQL Builder, Logging Interface, Reflection extensions and so on.

GitHub repositories (20)

Showing the top 5 popular GitHub repositories that depend on PCLCrypto:

Repository Stars
Sample apps built using the Xamarin.Forms framework
The mobile app vault (iOS and Android).
Plugins for Xamarin
The official AWS SDK for .NET. For more information on the AWS SDK for .NET, see our web site:

Version History

Version Downloads Last updated
2.1.40-alpha 7,991 8/18/2020
2.1.32-alpha 148,370 10/5/2018
2.1.27-alpha 46,321 6/19/2018
2.1.17-alpha-g5b1e8dff8c 13,992 3/10/2018
2.0.147 3,004,471 4/2/2016
2.0.145 5,500 3/30/2016
2.0.144 1,324 3/26/2016
2.0.140 6,389 3/21/2016
2.0.131-rc 727 3/19/2016
2.0.125-rc 665 3/17/2016
1.1.86-beta 1,936 11/14/2015
1.0.86 195,079 11/8/2015
1.0.82 1,494 11/5/2015
1.0.80 3,896 10/18/2015 325,630 5/11/2015 84,361 4/25/2015 14,474 3/13/2015
1.0.0-beta2 1,719 1/11/2015
1.0.0-beta1 807 1/3/2015 8,492 10/14/2014 13,991 6/14/2014 166,579 4/19/2014
0.4.1-beta 811 3/31/2014
0.4.0-beta 743 3/23/2014
0.3.1-beta 799 3/5/2014
0.3.0-beta 759 3/3/2014
0.2.0-beta 715 3/3/2014
0.1.1-alpha 762 3/1/2014
0.1.0-alpha 2,254 2/28/2014
Show less