function PhpPassword::needsRehash
Same name in other branches
- 11.x core/lib/Drupal/Core/Password/PhpPassword.php \Drupal\Core\Password\PhpPassword::needsRehash()
File
-
core/
lib/ Drupal/ Core/ Password/ PhpPassword.php, line 59
Class
- PhpPassword
- Secure PHP password hashing functions.
Namespace
Drupal\Core\PasswordCode
public function needsRehash($hash) {
return password_needs_rehash($hash, $this->algorithm, $this->options);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.