OXID eShop CE
6.1.4
|
Public Member Functions | |
__construct (\OxidEsales\Eshop\Core\OpenSSLFunctionalityChecker $openSSLFunctionalityChecker) | |
generate () | |
Protected Member Functions | |
_getOpenSSLFunctionalityChecker () | |
_customSaltGenerator () | |
Private Attributes | |
$_openSSLFunctionalityChecker | |
Generates Salt for the user password
OxidEsales\EshopCommunity\Core\PasswordSaltGenerator::__construct | ( | \OxidEsales\Eshop\Core\OpenSSLFunctionalityChecker | $openSSLFunctionalityChecker | ) |
Sets dependencies.
\OxidEsales\Eshop\Core\OpenSSLFunctionalityChecker | $openSSLFunctionalityChecker |
|
protected |
Generates custom salt.
|
protected |
Gets open SSL functionality checker.
OxidEsales\EshopCommunity\Core\PasswordSaltGenerator::generate | ( | ) |
Generates salt. If openssl_random_pseudo_bytes function is not available, than fallback to custom salt generator.
|
private |