A Compatibility library with PHP 5.5's simplified password hashing API.
function to check if the password API can be used In some PHP version ( <5.3.7), crypt() with blowfish is vulnerable.
But this issue has been fixed on some older PHP version (php 5.3.3 for most of them) in some distro, like Debian squeeze.
Get information about the password hash. Returns an array of the information that was used to generate the password hash.
array( 'algo' => 1, 'algoName' => 'bcrypt', 'options' => array( 'cost' => 10, ), )
Hash the password using the specified algorithm
Determine if the password hash needs to be rehashed according to the options provided
If the answer is true, after validating the password using password_verify, rehash it.
Verify a password against a hash using a timing attack resistant approach
Documentation generated on Thu, 19 Sep 2013 00:08:57 +0200 by phpDocumentor 1.4.3