Public Member Functions | |
__construct (oxOpenSSLFunctionalityChecker $openSSLFunctionalityChecker) | |
generate () | |
Protected Member Functions | |
_getOpenSSLFunctionalityChecker () | |
_customSaltGenerator () | |
Private Attributes | |
$_openSSLFunctionalityChecker |
Generates Salt for the user password
Definition at line 7 of file oxpasswordsaltgenerator.php.
oxPasswordSaltGenerator.__construct | ( | oxOpenSSLFunctionalityChecker $ | openSSLFunctionalityChecker | ) |
Sets dependencies.
oxOpenSSLFunctionalityChecker | $openSSLFunctionalityChecker |
Definition at line 20 of file oxpasswordsaltgenerator.php.
oxPasswordSaltGenerator._customSaltGenerator | ( | ) | [protected] |
oxPasswordSaltGenerator._getOpenSSLFunctionalityChecker | ( | ) | [protected] |
Gets open SSL functionality checker.
Definition at line 47 of file oxpasswordsaltgenerator.php.
oxPasswordSaltGenerator.generate | ( | ) |
Generates salt. If openssl_random_pseudo_bytes function is not available, than fallback to custom salt generator.
Definition at line 31 of file oxpasswordsaltgenerator.php.
oxPasswordSaltGenerator.$_openSSLFunctionalityChecker [private] |
Definition at line 13 of file oxpasswordsaltgenerator.php.