Password specific methods.
More...
Password specific methods.
Engine / Tool Library
- Author
- CaMykS Team camyk.nosp@m.s.co.nosp@m.ntact.nosp@m.@gma.nosp@m.il.co.nosp@m.m
- Version
- 1.0.2
- Date
- Creation: Jun 2005
-
Modification: Mar 2019
- Copyright
- 2005 - 2019 CaMykS Team
- Note
- This program is distributed as is - WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
◆ password_encode()
password_encode |
( |
|
$pwd, |
|
|
|
$algo = '' , |
|
|
|
$salt = '' |
|
) |
| |
Encode password.
- Parameters
-
string | $pwd | |
string | $algo | |
string | $salt | |
- Returns
- string
◆ password_check()
password_check |
( |
|
$pwd, |
|
|
|
$hash, |
|
|
|
$algo = null , |
|
|
|
$salt = '' |
|
) |
| |
Check password.
- Parameters
-
string | $pwd | |
string | $hash | |
string | $algo | |
string | $salt | |
- Returns
- boolean
◆ password_md5Encode()
password_md5Encode |
( |
|
$str | ) |
|
Encode password with MD5.
- Parameters
-
- Returns
- string
- Deprecated:
◆ PWD_TYPE_MD5