没接触过 晓习 顶顶更健康

解决方案 »

  1.   

    A byte's range(0~255) is bigger than an ASCII, so there will be problem using ASCIIEncoding to encode a byte array.
    You might change to other encoding, like the following one:
         //...
         //byte[] _HashVale = ...
         System.Text.StringBuilder s = new System.Text.StringBuilder();
         foreach (byte b in _HashVale) s.Append(b.ToString("x2"));
         return s.ToString();