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 Compatible and additional computed target framework versions.
.NET Framework net35 is compatible.  net35-client is compatible.  net40 is compatible.  net40-client is compatible.  net403 was computed.  net45 is compatible.  net451 is compatible.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
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 236,086 12/24/2013 2,119 9/20/2013
2.0.0 4,716 5/9/2013

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