PasswordService Class Reference
Detailed Description
The PasswordService class provides services for password handling.
Definition at line 18 of file PasswordService.php.
Static Public Member Functions | |
static | hash ($password) |
static | verify ($password, $passwordHash) |
Member Function Documentation
|
static |
Hash the given cleartext password.
- Parameters
-
$password
- Returns
- String
Definition at line 25 of file PasswordService.php.
|
static |
Check if the given hash represents the given password.
- Parameters
-
$password $passwordHash
- Returns
- String
Definition at line 36 of file PasswordService.php.