title: SHA256 hash of String in C# does not agree with hash on website
body: <p>If I hash the string "password" in C# using SHA256 using the below method I get this as my output:</p>
  
  <pre><code>e201065d0554652615c320c00a1d5bc8edca469d72c2790e24152d0c1e2b6189
  </code></pre>
  
  <p>But <a href="http://www.xorbin.com/tools/sha256-hash-calculator" rel="nofollow">this website(SHA-256 produces a 256-bit (32-byte) hash value)</a> tells me the has is:</p>
  
  <pre><code>5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8
  </code></pre>
  
  <p>I'm clearly having a data format issue or something similar.  Any ideas why this C# SHA256Managed method is returning something different?  I'm sending the method "password" as the input parameter.  </p>
  
  <pre><code>    private static string CalculateSHA256Hash(string text)
      {
          UnicodeEncoding UE = new UnicodeEncoding();
          byte[] hashValue;
          byte[] message = UE.GetBytes(text);
  
          SHA256Managed hashString = new SHA256Managed();
          string hex = "";
  
          hashValue = hashString.ComputeHash(message);
          foreach (byte x in hashValue)
          {
              hex += String.Format("{0:x2}", x);
          }
          return hex;
      }
  </code></pre>