title: How to hash a password with SHA512
body: <p>In my previous question I was told to hash passwords instead of encrypt, and that turned out to be correct. Problem is, I've never dealt with hashing passwords before and all the docs say SHA512 which I've tried to use on a test account to no avail. I'm not sure where to go from here. The code comments give me the example "encrypted" string as they call it, and it's "FA35A0194E3BE7024CEFB1839CBFC922" which I'm not sure how to format it like that with SHA512 since all it takes and gives back is a byte array or stream from the <code>ComputeHash()</code> method:</p>
  
  <pre><code>byte[] hashedPassword = HashAlgorithm.Create("SHA512").ComputeHash( ??? );
  </code></pre>
  
  <p>UPDATE</p>
  
  <p>I've tried printing out the UTF8Encoding.GetString on the bytes, but it just displays a bunch of bullshit characters that look nothing like the one in the example docs.</p>