title: MD5 password twice
body: <p>I know MD5's safety is under question lately and this is the reason a lot of people are using salt (I dont understand this at all btw) but I was wondering if you wanted to easily implement a safe system in php can you just md5 something twice? </p>
  
  <p>like <code>test</code> > <code>098f6bcd4621d373cade4e832627b4f6</code> > <code>fb469d7ef430b0baf0cab6c436e70375</code></p>
  
  <p>So basically:</p>
  
  <pre><code>$val = 'test';
  $val = md5($val);
  $val = md5($val);
  </code></pre>
  
  <p>Would that solve the whole rainbow security stuff? Is there an easy/noob proof way of making secure database passwords in php? </p>