title: Using GetHashCode to "secure" users passwords
body: <p>The company I work for has taken on a support contract for a large order processing system. As part of the initial system audit I noticed that the passwords stored in the database were actually the hashcode of the password.</p>
  
  <p>Essentially:</p>
  
  <pre><code>string pwd = "some pasword";
  string securePwd = pwd.GetHashCode();
  </code></pre>
  
  <p>My question is, how secure or otherwise is this? </p>
  
  <p>I'm not comfortable with it, but I don't know enough about how GetHashCode works. I would prefer to use something like an MD5 hash, but if I'm wasting my time then I won't bother.</p>