Quote Using System.Web.security; string md5 = formsauthentication.hashpasswordforstoringInconfigfile (this.textbox1.text, "md5");