ircmaxell/password_compat — pull request #28 by maxxon15 (2013-05-27 21:49:01+00:00)
Title: Refactored the methods into a HashPassword class

Refactored the methods into a HashPassword class for better code
organization when using OOP in projects.

$pwObj = new HashPassword();
$hashedPasswd = $pwObj->password_hash($passwd, PASSWORD_BCRYPT, ["cost" => 10]);
echo $hashedPasswd;