function PhpPassword::needsRehash
Same name in other branches
- 10 core/lib/Drupal/Core/Password/PhpPassword.php \Drupal\Core\Password\PhpPassword::needsRehash()
Overrides PasswordInterface::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.