Skip to content

ASP.Net Core C#. password hashing with salt & verification (encrypt & decrypt style). Password-Based Key Derivation Function 2

License

Notifications You must be signed in to change notification settings

chandru415/crypto-hash-verify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

ASP.Net Core C#. password hashing with salt & verification (encrypt & decrypt style). Password-Based Key Derivation Function 2

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages