CryptSharp provides Blowfish, BCrypt, SCrypt, and PBKDF2 for any HMAC (.Net's built-in PBKDF2 implementation supports only SHA-1). If you are looking to store passwords in a database, BCrypt is much harder for an attacker to break than, say, simple MD5 or SHA-1.

Cleaned up version of the work of James F. Bellinger on

There is a newer version of this package available.
See the version list below for details.
Install-Package CryptSharp -Version
dotnet add package CryptSharp --version
<PackageReference Include="CryptSharp" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CryptSharp --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

This is perpetually locked; James released a completely rehashed CryptSharp containing more unix methods but the signatures are different, contains more libs etc.


This package has no dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on CryptSharp:

Package Downloads
Encrypt and decrypt navicat mysql passwords stored in the windows registry.
A .NET standard class library for interacting with Ethereum keystore files

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.3.0 12,740 10/11/2017 26,709 6/20/2012