首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

有网站开发经验人员请进解决办法

2012-01-18 
有网站开发经验人员请进请问:你们在登录时,用的是什么加密算法?[解决办法]http://msdn.microsoft.com/libr

有网站开发经验人员请进
请问:你们在登录时,用的是什么加密算法?

[解决办法]
http://msdn.microsoft.com/library/chs/default.asp?url=/library/CHS/cpref/html/frlrfSystemSecurityCryptographyMD5ClassTopic.asp

[C#]
byte[] data = new byte[DATA_SIZE];

// This is one implementation of the abstract class MD5.
MD5 md5 = new MD5CryptoServiceProvider();

byte[] result = md5.ComputeHash(data);

要求
命名空间: System.Security.Cryptography

平台: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 系列

程序集: Mscorlib (在 Mscorlib.dll 中)

热点排行
Bad Request.