C# 字符串MD5加密

it2022-05-05  107

public static String Md5Encrypt(String strSource) { byte[] result = Encoding.Default.GetBytes(strSource); System.Security.Cryptography.MD5 md5 = new System.Security.Cryptography.MD5CryptoServiceProvider(); byte[] output = md5.ComputeHash(result); return BitConverter.ToString(output).Replace("-", ""); }

 

转载于:https://www.cnblogs.com/huashengdoujiao/p/9806283.html

相关资源:各显卡算力对照表!

最新回复(0)