check that the supplied password matches the encoded password in the database
boolean
check_password
(string $test, string $real)
-
string
$test: unencoded string supplied by the user as a password attempt
-
string
$real: encoded string from the database
is_valid_username (line
25)
tests if string is a valid username as per the config setting for usernames
boolean
is_valid_username
(string $v)
-
string
$v: string to test if it is a valid username
void
makeHashSalt
([ $type = 'md5'])
makePasswordHash (line
53)
encode a password according to the specified hash method (or using the requested
string
makePasswordHash
(string $passwd, [string $salt = NULL], [ $method = NULL])
-
string
$passwd: unencoded password string
-
string
$salt: salt used to hash the password
-
$method
passwordHashType (line
117)
void
passwordHashType
( $pass)