private static string Md5Hash(string unhashed)
{
System.Security.Cryptography.MD5CryptoServiceProvider csp = new System.Security.Cryptography.MD5CryptoServiceProvider();
byte[] bytes = System.Text.Encoding.UTF8.GetBytes(unhashed);
byte[] hashedBytes = csp.ComputeHash(bytes, 0, bytes.Length);
return BitConverter.ToString(hashedBytes).Replace("-", "").ToLower();
}