public static string MDK(string _str) { MD5 m5 = new MD5CryptoServiceProvider(); byte[] buffer = System.Text.Encoding.Unicode.GetBytes(_str); return BitConverter.ToString(m5.ComputeHash(buffer)).Replace("-", ""); }