In version 5.5, PHP added built-in password hashing and verifying functions to make the whole process a lot more secure and easier to use. I wrote this wrapper to objectify those functions and make some of the more cumbersome parts easier to work with. Hashing a password with this wrapper is as simple as:
$hash_password = new Hash_Password(); $hash = $hash_password->hash($password);
Then, you can verify a password with:
No need to SALTs in your config or any of that.
In addition, this class will benchmark your server to determine how high of a cost you can afford. You want to set the highest cost that you can without slowing down you server too much.
Just be sure to watch the included video to see how to use everything here.
NO REFUNDS on source code products.