此应用程序块允许开发人员在其应用程序中包含加密和哈希功能。
Developers can use this application block to incorporate hashing and symmetric encryption in their applications.
哈希是一种加密功能所获得的结果,这种加密需要获取任意大小的字符串数据,并用算法对其进行加密,然后返回一个固定大小的字符串。
A hash is the result of a cryptographic function that takes an arbitrarily sized string of data, performs a mathematical encryption function on it, and returns a fixed-size string.
NET 2.0 包括应该简化密码哈希和连接字符串加密的许多功能。
ASP.NET 2.0 includes a number of features which should simplify the hashing of passwords and the encryption of connection strings.
There's been a lot of work done on these over the years, but in fact, it's pretty hard to invent a good hash function. So my advice to you is, if you want to use something was a hash, go to a library. Look up a good hash function.
已经做过了很多的尝试和努力,但是事实是,很难发明出一个好的哈希函数,所以我给你们的建议是,如果你们想使用哈希功能,到函数库中查找一个好的哈希函数。
应用推荐