Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 1.58 KB

README.md

File metadata and controls

55 lines (34 loc) · 1.58 KB

crypto-hash-verify

Encrypt & Decrypt sensitive value with salt using Password Key Derivation Function 2




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.

Use case: password encrypt & decrypt

  • Create .Net core console application (C#)

  • Under project dependencies - add CryptoHashVerify from the nuget package manager.

nuget package image

  • GenerateHashString method will return a tuple consists
    • hashed password
    • salt value

input-password


output

hashedoutput


  • VerifyHashString method will return a true password matches otherwise false.

foutput


Show some ❤️ by starring some of the repositories!