CryptoHashVerify 2.0.1
dotnet add package CryptoHashVerify --version 2.0.1
NuGet\Install-Package CryptoHashVerify -Version 2.0.1
<PackageReference Include="CryptoHashVerify" Version="2.0.1" />
paket add CryptoHashVerify --version 2.0.1
#r "nuget: CryptoHashVerify, 2.0.1"
// Install CryptoHashVerify as a Cake Addin #addin nuget:?package=CryptoHashVerify&version=2.0.1 // Install CryptoHashVerify as a Cake Tool #tool nuget:?package=CryptoHashVerify&version=2.0.1
<p align="center"> <h2 align="center">crypto-hash-verify</h2> <p align="center">Encrypt & Decrypt sensitive value with salt using <b>Password Key Derivation Function 2</b></p> <br/> <p align="center"> <img src="https://img.shields.io/github/stars/chandru415/crypto-hash-verify?style=for-the-badge" /> <img src="https://img.shields.io/github/watchers/chandru415/crypto-hash-verify?style=for-the-badge" /> <a href="https://www.nuget.org/packages/CryptoHashVerify/"> <img src="https://img.shields.io/nuget/dt/CryptoHashVerify?style=for-the-badge" /> </a> </p> </p> <br/>
crypto-hash-verify gives the ability to encrypt and decrypt sensitive data using the key derivation function(s).
To install the package to any .Net Core application please click here.
<h4> Use case: password encrypt & decrypt </h4>
Create .Net core console application (C#)
Under project dependencies - add CryptoHashVerify from the nuget package manager.
<img align="center" src="./assests/nugetpackagess.png" alt="nuget package image">
- GenerateHashString method will return a tuple consists
- hashed password
- salt value
<img align="center" src="./assests/input-password.PNG" alt="input-password">
<br/>
output
<img align="center" src="./assests/hashedoutput.PNG" alt="hashedoutput">
<br/>
- VerifyHashString method will return a true password matches otherwise false.
<img align="center" src="./assests/foutput.PNG" alt="foutput">
<br/>
<div align="center">
Show some ❤️ by starring some of the repositories!
</div>
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
-
net6.0
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
ASP.Net, hashing with salt & verification (encrypt & decrypt style). Password-Based Key Derivation Function 2.