title: MD5 hashing does not match in C# and PHP
body: <p>I have tried hashing a string in PHP using MD5 and the same in C#, but the results are different.. can someone explain me how to get this matched?</p>
  
  <p>my C# code looks like</p>
  
  <pre><code>md5 = new MD5CryptoServiceProvider();
              originalBytes = ASCIIEncoding.Default.GetBytes(AuthCode);
              encodedBytes = md5.ComputeHash(originalBytes);
  
              Guid r = new Guid(encodedBytes);
              string hashString = r.ToString("N");
  </code></pre>
  
  <p>Thanks in advance</p>
  
  <p>Edited: My string is 123 as a string</p>
  
  <p>Outputs;</p>
  
  <p>PHP: 202cb962ac59075b964b07152d234b70</p>
  
  <p>C# : 62b92c2059ac5b07964b07152d234b70</p>