An MD5 encryption function

xiaoxiao2021-03-06  38

// Reference using system.security.cryptography;

public static string encMd5 (string Password) {MD5CryptoServiceProvider md5 = new MD5CryptoServiceProvider (); byte [] bytValue, bytHash; bytValue = System.Text.Encoding.UTF8.GetBytes (Password); bytHash = md5.ComputeHash (bytValue); md5. CLEAR (); string STEMP = ""; for (int i = 0; i

转载请注明原文地址:https://www.9cbs.com/read-68846.html

New Post(0)