title: Md5 return the raw bytes instead of the hex
body: <p>I have some PHP code and I want to make it in c#.</p>
  
  <p>My code in PHP :</p>
  
  <pre><code>$md5raw = md5($str2hash, true);
  </code></pre>
  
  <p>My code in c# :</p>
  
  <pre><code>        static string GetMd5Hash(MD5 md5Hash, string input)
      {
  
          byte[] data = md5Hash.ComputeHash(Encoding.UTF8.GetBytes(input));
  
          // Create a new Stringbuilder to collect the bytes 
          // and create a string.
          StringBuilder sBuilder = new StringBuilder();
  
          // Loop through each byte of the hashed data  
          // and format each one as a hexadecimal string. 
          for (int i = 0; i &lt; data.Length; i++)
          {
              sBuilder.Append(data[i].ToString("x2"));
          }
  
          // Return the hexadecimal string. 
          return sBuilder.ToString();
      }
  </code></pre>
  
  <p>the result of this two codes is not identical</p>
  
  <p>PHP:�賞�}��+X�6�<br>
  C#:0f9de8b39ee7187d92bb2b5817bb36ee</p>
  
  <p>What should I change in my c# code?</p>