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

This has been designed with a focus on 'ease of use' without any trade off in security.

The .dll is reversable in JustDecompile or your favourite MISL decompiler; However totally understand if you wish to review the source code and build your own .dll (or even modify it if you want) so the source code can be pulled from my repo here: feel free to fork and request updates to the code if you feel you have something of value. (Note: if you are the NSA trying to put some kind of backdoor in.....I'm already onto you so your attempts will be futile!) New versions will be built and updated here in NuGet also as a package that can be imported easily yay!

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.
#r "nuget: PWDTK,"
For F# scripts that support #r syntax, copy this into the source code to reference the package.

Release Notes

Hallmanac added a GetRandomSaltHexString method so I added a PasswordToHashHexString method and a bit of code cleanup


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 120,174 12/24/2013 992 9/20/2013
2.0.0 1,510 5/9/2013