void Page_load(object sender,EventArgs e)

{

     string s="hehe";

    string s1=System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(s,"sha1");      Response.Write(s1);

      Response.Write(s);

 }

 

这是关于sha1加密的,md5加密就是将sha1换成md5就可以了

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-25
  • 2022-02-07
  • 2022-02-25
  • 2021-11-07
  • 2021-10-24
  • 2021-06-01
猜你喜欢
  • 2021-09-20
  • 2022-01-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案