md5加密

byte[] by = Encoding.Default.GetBytes("000000");
            by = new MD5CryptoServiceProvider().ComputeHash(by);
            string text1 = "";
            for (int num1 = 0; num1 < by.Length; num1++)
            {
                text1 = text1 + by[num1].ToString("x").PadLeft(2, '0');
            }

 

posted @ 2014-12-15 15:20  临冰听雪丶  阅读(158)  评论(0编辑  收藏  举报