title: Secure password storage
body: <p>I'm developing a web service where users must login. I will store user data in an <a href="http://en.wikipedia.org/wiki/SQL" rel="nofollow">SQL</a> database and input/output via <a href="http://en.wikipedia.org/wiki/PHP" rel="nofollow">PHP</a>. But I don't want to store it openly. How do I encrypt the passwords in PHP so only those who knows the password can unlock it?</p>
  
  <p>I know services like <a href="http://en.wikipedia.org/wiki/PhpBB" rel="nofollow">phpBB</a> uses some sort of hiding/encryption on stored passwords.</p>