function PhpassHashedPasswordBase::hash
Same name in other branches
- 10 core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php \Drupal\Core\Password\PhpassHashedPasswordBase::hash()
Overrides PasswordInterface::hash
File
-
core/
lib/ Drupal/ Core/ Password/ PhpassHashedPasswordBase.php, line 185
Class
- PhpassHashedPasswordBase
- Legacy password hashing framework.
Namespace
Drupal\Core\PasswordCode
public function hash($password) {
return $this->corePassword
->hash($password);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.