password_hash($password, $algo[, $options = array()])
Parameters: |
|
---|---|
Returns: |
Hashed password or FALSE on failure |
Return type: |
string |
For more information, please refer to the PHP manual for password_hash().
Note
Unless you provide your own (and valid) salt, this function has a further dependency on an available CSPRNG source. Each of the following would satisfy that: - mcrypt_create_iv()
with MCRYPT_DEV_URANDOM
- openssl_random_pseudo_bytes()
- /dev/arandom - /dev/urandom
Please login to continue.