Beispiel #1
0
        public static string GetMD5(this string encryptString)
        {
            var bytes = new MD5CryptoServiceProvider().ComputeHash(Encoding.UTF8.GetBytes(encryptString));

            return(bytes.ByteArrayToString());
        }