См. определение в файле password.php строка 11
◆ equals()
| equals |
( |
| $hash, |
|
|
| $password, |
|
|
| $original = true ) |
|
static |
Compares a hash and a(n) (original) password.
- Аргументы
-
| string | $hash | Hash of the password. |
| string | $password | User supplied password. |
| bool | $original | |
- Возвращает
- bool
См. определение в файле password.php строка 20
◆ hash()
| hash |
( |
| $password, |
|
|
| $salt = null ) |
|
static |
Hashes a password using SHA-512 by default.
- Аргументы
-
| string | $password | |
| null | string | $salt | If null, will be generated |
- Возвращает
- string
См. определение в файле password.php строка 82
◆ needRehash()
Determines if a password needs to be rehashed.
- Аргументы
-
| string | $hash | Hash of the password. |
- Возвращает
- bool
См. определение в файле password.php строка 55
Объявления и описания членов класса находятся в файле: