This method tries to use PHP's built in {@link password_hash()} function and falls back to the default
implementation if that's not possible.
public hashPassword ( string $password ) : string | ||
$password | string | The plaintext password to hash. |
return | string | Returns a secure hash of {@link $password}. |