title: Hashing passwords with MD5 or sha-256 C#
body: <p>I'm writing a register form for a application but still having problems with being new to c#.</p>
  
  <p>I am looking to encrypt/hash passwords to md5 or sha-256, preferably sha-256. </p>
  
  <p>Any good examples? I want it to be able to take the information from "string password;" and then hash it and store in the variable "string hPassword;". Any ideas?</p>