6
Answers

Password hashing

Ask a question
Hi,

  While saving password in DB doing hashing and saved into DB. While doing unhashing the password getting different hash value. In web.config in "securityCryptographyConfiguration" I have defined  algorithmType as  "System.Security.Cryptography.SHA1Managed"  and saltEnabled = true.
If I define saltEnabled = false I'm getting same encryption value for all the password.
can any one help me how to do that????

Revathi.

Answers (6)