热门标签
更多>
搜索结果
查询Tags标签: newBuffer,共有 2条记录-
C#MD5加密
public static string MD5Encrytp32(string password) {using (MD5 md5 = MD5.Create()){byte[] newBuffer = md5.ComputeHash(Encoding.UTF8.GetBytes(password));StringBuilder sb = new StringBuilder();for (int i = 0; i < newBuffer.Length; i++){sb.Append(newB…
2022/9/14 14:17:31 人评论 次浏览 -
MD5加密32位16进制
public static string UseMd5(string str){using (MD5 mi = MD5.Create()){byte[] buffer = Encoding.Default.GetBytes(str.Trim());//开始加密byte[] newBuffer = mi.ComputeHash(buffer);StringBuilder sb = new StringBuilder();for (int i = 0; i < newBuffer.Len…
2021/6/27 6:14:06 人评论 次浏览