标签:string ice tostring ring odi i++ compute turn cep
#region 加密 public static string GetMD5(string myString) { MD5 md5 = new MD5CryptoServiceProvider(); byte[] fromData = System.Text.Encoding.Unicode.GetBytes(myString); byte[] targetData = md5.ComputeHash(fromData); string byte2String = null; for (int i = 0; i < targetData.Length; i++) { byte2String += targetData[i].ToString("x2"); } return byte2String; } #endregion
标签:string ice tostring ring odi i++ compute turn cep
原文地址:https://www.cnblogs.com/SeNaiTes/p/8798307.html