2012年5月21日
摘要: Use a hashing algorithm, such as SHA256,to store passwords. Make sure tosalt the hashes.Step 1. Compute the SaltYou can compute the salt value by using theRNGCryptoServiceProviderclass, as shown in the following code example.using System.Security.Cryptography;...private static string CreateSalt(int 阅读全文
posted @ 2012-05-21 19:15 cw_volcano 阅读(304) 评论(0) 推荐(0) 编辑