„LnxUser::chkRound” változatai közötti eltérés
Innen: IT documentation
(Új oldal, tartalma: „==Description== Object-oriented style<syntaxhighlight lang="php"> public lnxUser::chkRound( string $hash, &$round ): bool </syntaxhighlight>Procedural style<syntaxhighl…”) |
|||
| 7. sor: | 7. sor: | ||
==Parameters== | ==Parameters== | ||
;hash | ;hash | ||
:The hash must be one of [https://doc.onlinesoft.org/index.php%3Ftitle=LnxUser_PHP_Class_Reference LNX_PH family of constants]. | |||
;round | ;round | ||
You can read about password hash, salt, round relationships and requirements [https://www.php.net/manual/en/function.crypt here]. | :You can read about password hash, salt, round relationships and requirements [https://www.php.net/manual/en/function.crypt here]. | ||
==Return Values== | ==Return Values== | ||
A lap 2021. szeptember 23., 19:49-kori változata
Description
Object-oriented style
public lnxUser::chkRound( string $hash, &$round ): bool
Procedural style
public lnxChkRound( string $hash, &$round ): bool
Checks the round method is valid.
Parameters
- hash
- The hash must be one of LNX_PH family of constants.
- round
- You can read about password hash, salt, round relationships and requirements here.
Return Values
Returns true if method is valid, false otherwise.
Changelog
| Version
(lnxUser) |
Description |
|---|---|
| 1.2 | available |
Examples
if ( lnxChkRound( LNX_PH_BLOWFISH_Y, 22 ) )
print ( 'Round is valid' . PHP_EOL );
else
print ( 'Round is invalid' . PHP_EOL );