ASP.NET2.0中的加密解密算法的封装

其实在ASP.Net编程中加密数据。在DotNet中有自带的类:System.Web.Security.HashPasswordForStoringInConfigFile() public string md5(string str,int code) { if(code==16) //16位MD5加密(取32位加密的9~25字符) { return System.Web.Security.Fo...
posted @ 2009-05-23 09:40  智者生存  阅读(278)  评论(0编辑  收藏  举报