title: What comes first, the salt or the hash?
body: <p>Okay, I know this is probably dead simple, but I can't seem to find a straight answer anywhere.  Let's say I have the following:</p>
  
  <pre><code>Password: "mypassword"
  Salt: 1234567
  </code></pre>
  
  <p>Is the idea of salting to do something like <code>hash(password + salt)</code> or <code>hash(password) + salt</code>?  My guess is that only the former makes any sense at all, but I just want to make sure I'm not missing something.</p>
  
  <p>Please forgive my ignorance.</p>