title: What is better? Password_hash vs. SHA256 vs. SHA1 vs. md5
body: <p>What is better with <code>salt</code> for password storage?</p>
  
  <p>MD5:</p>
  
  <pre><code>$hash = md5($password . $salt);
  </code></pre>
  
  <p>Password_hash:</p>
  
  <pre><code>$hash = password_hash($password, PASSWORD_DEFAULT, $salt);
  </code></pre>
  
  <p>SHA1:</p>
  
  <pre><code>$result = sha1($salt.$string);
  </code></pre>