StrPwd = txtpwd.text; strpwd = system.web.security.formsauthentication.Security.FormSauthentication.hashPasswordforstoringInfigfile (StrPwd, "MD5");
This will make MD5 encrypted your password.
-------------------------------------------------- --------------------------------------------
public string GetMD5 (string sDataIn) {string Result; MD5CryptoServiceProvider md5 = new MD5CryptoServiceProvider (); byte [] bytValue, bytHash ;; bytValue = System.Text.Encoding.UTF8.GetBytes (sDataIn); bytHash = md5.ComputeHash (bytValue) Md5.clear (); string STEMP = ""; for (int i = 0; i