韩言福地

只有想不到的,没有办不到的。 - HY Auspicious Place

« 线程间操作无效 解决方法真正实现你童年的梦想-兰迪·波许教授 »

Md5和SHA1 加密方式

str 为原始密码

 

System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(str, "Md5")

 System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(str, "SHA1")

 

这样是很快捷的方式获取.

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

日历

最新评论及回复

最近发表

Copyright 2007-2010 www.yinrg.com(HY Auspicious Place) . 湘ICP备06007796号.