Functions
can_use_password_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.
« More »
password_hash¶
Hash the password using the specified algorithm
« More »
password_get_info¶
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,
),
)
« More »
password_needs_rehash¶
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.
« More »
password_verify¶
Verify a password against a hash using a timing attack resistant approach
« More »
Classes, interfaces and traits
Version¶
Embed version informations.
« More »
VersionComparator¶
class to compare version numbers. it supports the following keywords:
"pre", "-dev", "b", "beta", "a", "alpha".
It supports also the "*" wilcard. This wilcard must be the last part
of the version number.
« More »
versionRangeBinaryOperator¶
Represents a binary operator (AND or OR) in a version range expression.
« More »
versionRangeUnaryOperator¶
Represents an unary operator (>,<,=,!=,<=,>=,~) in a version range expression.
« More »