|
![]() |
名片设计 CorelDRAW Illustrator AuotoCAD Painter 其他软件 Photoshop Fireworks Flash |
|
其实在ASP.Net编程中,不用调用md5.asp来加密数据。在DotNet中有自带的类:System.Web.Security.HashPasswordForStoringInConfigFile() public string md5(string str,int code) { if(code==16) //16位MD5加密(取32位加密的9~25字符) { return System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(str,"MD5").ToLower().Substring(8,16) ; } if(code==32) //32位加密 { return System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(str,"MD5").ToLower(); } return "00000000000000000000000000000000"; } 返回类别: 教程 上一教程: Serv-U软件密码加密函数 下一教程: ASP.NET应用程序的安全方案(三)?安全通信 您可以阅读与"ASP.Net中的MD5加密"相关的教程: · 关于ASP,ASP.NET,VB.NET里的MD5加密函数 · 升级MD5.ASP,打造完全动态不重复的安全加密代码 · ASP.NET中的Code Behind技术(1) · ASP中使用MD5加密字符 · MD5加密算法 ASP版 |
![]() ![]() |
快精灵印艺坊 版权所有 |
首页![]() ![]() ![]() ![]() ![]() ![]() ![]() |