Posted on: 1/29/2015 6:38:58 AM | Views : 543

Hi all
What type of password salt(SHA1 or MD5) in my code and How to do password salt(SHA1 or MD5).
  protected string EncryptPassword(string txtPassword)         {             byte[] passBytes = Encoding.Unicode.GetBytes(txtPassword);             string encryptpass = Convert.ToBase64String(passBytes);             return encryptpass;         }         protected string DecryptPassword(string encryptpass)         {             byte[] passBytes = Convert.FromBase64String(encryptpass);            ...

Go to the complete details ...