.NET Framework 3.5
dotnet add package PWDTK --version
NuGet\Install-Package PWDTK -Version
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<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
#r "nuget: PWDTK,"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PWDTK as a Cake Addin
#addin nuget:?package=PWDTK&version=

// Install PWDTK as a Cake Tool
#tool nuget:?package=PWDTK&version=

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!

Product Versions
.NET Framework net35 net35-client net40 net40-client net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

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 Downloads Last updated 197,067 12/24/2013 1,483 9/20/2013
2.0.0 2,694 5/9/2013

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