Info
Version: | 1.4.0 |
Author(s): | Dipanjan Nag |
Last Update: | Monday, November 24, 2014 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | http://hasher-nuget.blogspot.in/ |
NuGet Url: | https://www.nuget.org/packages/Hasher |
Install
Install-Package Hasher
dotnet add package Hasher
paket add Hasher
Hasher Download (Unzip the "nupkg" after downloading)
Dependencies
Tags
Simple Do
var h = new Hasher();
var hash = h.getHash("abcd");
var salt = h.Salt;
Now you can store salt and hash. To match simply do:
var h2 = new Hasher(salt);
h2.match(stringToCheck, hash); // returns true or false.