PWDTK.NET (Password Toolkit) is a .NET API which easily allows you to create crypto random salt and generate password hashes using a HMAC-SHA512 based version of the PBKDF2 specification. It also contains an implementation of password policies which are enforced using regular expressions.

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

Release Notes

Added Max Password size of 1024 Bytes to stop a DOS attack happening from an attacker forcing big passwords to hash taking a long time and slowing the server down! This is due to this security article whilst the user should enforce max password size on client side, I implemented a PasswordTooLong Exception which will be thrown if you don't stop passwords bigger than 1024 bytes client side!


This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 110,094 12/24/2013 900 9/20/2013
2.0.0 1,283 5/9/2013