Info
Version: | 1.0.3 |
Author(s): | Mauricio Junior |
Last Update: | Monday, February 28, 2022 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://www.mauriciojunior.net/nugets |
NuGet Url: | https://www.nuget.org/packages/CriptHashes |
Install
Install-Package CriptHashes
dotnet add package CriptHashes
paket add CriptHashes
CriptHashes Download (Unzip the "nupkg" after downloading)
Dependencies
Tags
MD5
SHA1
SHA256
SHA384
SHA512
You can check the credibility of the Hash using the method.
IHash _hash = new Hash();
var result = _hash.GetHash("test", HashType.SHA512);
var checkHash = _hash.CheckHash(
"test",
"9f7d8627e02f97cc5a52dcb2ba96038fe12f2a34b0fac50e041359ae13d5ede8a8a50562da58ba7916da378e7343ef91e85efbd6a0a70ab237ada4c2274df13d",
HashType.SHA512);
Console.WriteLine(checkHash);
Console.WriteLine(result);.