dotnet-password-hasher
v0.0.1
Published
NodeJS package for hash/validate passwords using the .NET PasswordHasher algorithm.
Downloads
6
Readme
.NET PasswordHasher Class APIs for NodeJS
NodeJS package for hash/validate passwords using the .NET PasswordHasher algorithm.
Usage
var dotnetPasswordHasher = require('dotnet-password-hasher');
//#### Hash a password
let hash = dotnetPasswordHasher.HashPassword('CorrectHorseBatteryStaple');
// return string
//#### Verify a password
dotnetPasswordHasher.VerifyHashedPassword('CorrectHorseBatteryStaple', hash);
// return true false
Install
npm install dotnetPasswordHasher
Test
npm test