Total Pageviews

Sunday 15 March 2015

Hash a password

reg_pass_txt is the ID of a textbox

using System.Web.Security;

 string password = FormsAuthentication.HashPasswordForStoringInConfigFile(reg_pass_txt .Text ,"SHA1");

No comments:

Post a Comment