http://www.mind-projects.it/projects/jqzoom/
2013年1月18日 星期五
2013年1月7日 星期一
Get the MD5 code
private string HashString(string Value)
{
System.Security.Cryptography.MD5CryptoServiceProvider x = new System.Security.Cryptography.MD5CryptoServiceProvider();
byte[]
data = System.Text.Encoding.ASCII.GetBytes(Value);
data = x.ComputeHash(data);
string
ret = "";
for (int i = 0; i < data.Length; i++)
ret += data[i].ToString("x2").ToLower();
return
ret;
}
訂閱:
文章 (Atom)