2004年4月3日

System.Web.Security下提供了非常简单的MD5加密算法,但处在非Web层的项目要怎么使用MD5加密呢?

摘要: 我起初没有太在意,在web层用了这样的md5加密方法。 public static string MD5(string str) { return FormsAuthentication.HashPasswordForStoringInConfigFile(str,"md5"); }在非web层用了这样的md5加密方法。 public static string MD5(string ... 阅读全文

posted @ 2004-04-03 15:38 十一月四日风雨大作 阅读(3130) 评论(6) 推荐(0) 编辑

导航