ASP.Net, hashing with salt & verification (encrypt & decrypt style). Password-Based Key Derivation Function 2
$ dotnet add package CryptoHashVerify
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.
Create .Net core console application (C#)
Under project dependencies - add CryptoHashVerify from the nuget package manager.
output