source/Core/PasswordSaltGenerator.php
protected function _customSaltGenerator()
    {
        $sHash = '';
        $sSalt = '';
        for ($i = 0; $i < 32; $i++) {
            $sHash = hash('sha256', $sHash . mt_rand());
            $iPosition = mt_rand(0, 62);
            $sSalt .= $sHash[$iPosition];
        }

        return $sSalt;
    }
protected function _customSaltGenerator()
    {
        $sHash = '';
        $sSalt = '';
        for ($i = 0; $i < 32; $i++) {
            $sHash = hash('sha256', $sHash . mt_rand());
            $iPosition = mt_rand(0, 62);
            $sSalt .= $sHash[$iPosition];
        }

        return $sSalt;
    }
protected function _customSaltGenerator ( ) { $ sHash = '' ; $ sSalt = '' ; for ( $ i = 0 ; $ i < 32 ; $ i ++ ) { $ sHash = hash ( 'sha256' , $ sHash . mt_rand ( ) ) ; $ iPosition = mt_rand ( 0 , 62 ) ; $ sSalt .= $ sHash [ $ iPosition ] ; } return $ sSalt ; }
Generates custom salt.

@return string
Generates custom salt .