Secure password hashing functions for user authentication.
Hierarchy
- interface \Drupal\Core\Password\PasswordInterface
File
- core/lib/Drupal/Core/Password/PasswordInterface.php, line 8
Namespace
Drupal\Core\Password
Members
Name | Modifiers | Type | Description |
---|---|---|---|
PasswordInterface::check | public | function | Check whether a plain text password matches a hashed password. |
PasswordInterface::hash | public | function | Hash a password using a secure hash. |
PasswordInterface::needsRehash | public | function | Check whether a hashed password needs to be replaced with a new hash. |
PasswordInterface::PASSWORD_MAX_LENGTH | constant | Maximum password length. |
Please login to continue.