All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
用C#实现中文验证码_[Asp.Net教程]
在线竞拍系统的PHP实现框架_php资料_编程技术
asp.net2.0中Cache 对象的应用实例
asp.net跳转页面的三种方法比较_.net资料_编程技术
delphi删除数据表中的记录
Delphi使用ADO连接SQL Server 2000数据库
PHP生成图片缩略图_[PHP教程]
用PHP调用Oracle存储过程_[PHP教程]
问题解决-无法载入MYSQL扩展,请检查PHP配置_php资料_编程技术
PHP生成随机字符串_[PHP教程]
Reading number is top 10 pictures
HongMenYan premiere XinLiangGong clairvoyant outfit PK YiFeiLiu2
漂亮的跳舞妹妹1
Seductive beauty of crime1
Steal to eat bacon bird
这才是真正的人体艺术4
India's national beauty of the college students
Absolutely shocked. National geographic 50 animal photographys4
[猫扑大杂烩]华东师范墙上看到的捐精告示 15毫升3600元
yy365网站上的美女2
你是左脑型还是右脑型
Download software ranking
I for your crazy
Sora aoi‘s film--Lust fan wall
The cock of the Grosvenor LTD handsome
C++教程第四版
Unix video tutorial14
株洲本地在线棋牌游戏
Call Of Duty2
Tram sex maniac 2 (H) rar bag16
Boxer vs Yellow4
C#与.NET技术平台实战演练
delv published in(发表于) 2014/1/8 7:01:53 Edit(编辑)
ASP.NET下使用MD5加密_[Asp.Net教程]

ASP.NET下使用MD5加密_[Asp.Net教程]

ASP.NET下使用MD5加密_[Asp.Net教程]

其实在.net 有一个最简单实现MD5的方法


/// MD5加密
///

/// 被加密字符串
/// 加密后的字符串
public static string MD5(string toCryString)
{
return FormsAuthentication.HashPasswordForStoringInConfigFile(toCryString, "MD5");
}


方法2:
public static string MD5(string str)
{
MD5 md5 = new MD5CryptoServiceProvider();
byte[] result = md5.ComputeHash(System.Text.Encoding.Default.GetBytes(str));
string str2 = "";
for(int i=0;i {
str2 += string.Format("{0:x}",result[i]);
}
return str2;
}


来源:网络







添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.