public String CreateMD5Hash(String RawData)
{
byte[] hash = System.Security.Cryptography.MD5.Create().ComputeHash(System.Text.Encoding.UTF8.GetBytes(RawData));
String str = "";
byte[] numArray = hash;
int index = 0;
while (index < numArray.Length)
{
byte num = numArray[index];
str = str + num.ToString("x2");
checked { ++index; }
}
return str;
}