首页 > 学院 > 开发设计 > 正文

C#WinformMD5加密学习积累

2019-11-14 13:41:04
字体:
来源:转载
供稿:网友
string passWord = txtPassword.Text.Trim();byte[] result = Encoding.Default.GetBytes(password);md5 md5 = new MD5CryptoServicePRovider();byte[] output = md5.ComputeHash(result);password = BitConverter.ToString(output).Replace("-", "");  

  


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表