see |
\Zend\Crypt\Password\http://httpd.apache.org/docs/2.2/misc/password_encryptions.html |
Methods
Constructor
__construct(array | \Traversable $options)
Parameters
$options
array\Traversable
Exceptions
Generate the hash of a password
create(string $password) : string
Parameters
$password
string
Exceptions
Returns
string
Get the AuthName (for digest authentication)
getAuthName() : string
Get the username
getUserName() : string
Verify if a password is correct against a hash value
verify(string $password, string $hash) : bool
Parameters
$password
string
$hash
string
Returns
bool
APR1 MD5 algorithm
apr1Md5(string $password, null | string $salt) : string
Parameters
$password
string
$salt
nullstring
Returns
string
Convert a binary string using the alphabet "./0-9A-Za-z"
toAlphabet64(string $value) : string
Parameters
$value
string
Returns
string
Properties
<p>AuthName (realm) for digest authentication</p>
$authName : string
<p>UserName</p>
$userName : string
Constants