asp.net中使用md5加密
2008年1月4日 13:03:18 admin ASP.NET
#region MD5
public string strmd5(string str)
{
System.Security.Cryptography.MD5 md5;
md5 = System.Security.Cryptography.MD5.Create();
return System.BitConverter.ToString(md5.ComputeHash(System.Text.Encoding.Default.GetBytes(str))).Replace("-", "");
}
#endregion
标签:asp.net中使用md5加密 asp.net 使用md5加密 md5加密
相关文章
- asp.net生成html静态页 (2008-1-4 12:59:48)
发表评论