protected function getConfigHash(Request $request, $os, $browserName, $browserVersion, $plugin_Flash, $plugin_Java,
                                     $plugin_Director, $plugin_Quicktime, $plugin_RealPlayer, $plugin_PDF,
                                     $plugin_WindowsMedia, $plugin_Gears, $plugin_Silverlight, $plugin_Cookie, $ip,
                                     $browserLang)
    {
        // prevent the config hash from being the same, across different Piwik instances
        // (limits ability of different Piwik instances to cross-match users)
        $salt = SettingsPiwik::getSalt();

        $configString =
              $os
            . $browserName . $browserVersion
            . $plugin_Flash . $plugin_Java . $plugin_Director . $plugin_Quicktime . $plugin_RealPlayer . $plugin_PDF
            . $plugin_WindowsMedia . $plugin_Gears . $plugin_Silverlight . $plugin_Cookie
            . $ip
            . $browserLang
            . $salt;

        if (!$this->isSameFingerprintsAcrossWebsites) {
            $configString .= $request->getIdSite();
        }

        $hash = md5($configString, $raw_output = true);

        return substr($hash, 0, Tracker::LENGTH_BINARY_ID);
    }
protected function getConfigHash(Request $request, $os, $browserName, $browserVersion, $plugin_Flash, $plugin_Java,
                                     $plugin_Director, $plugin_Quicktime, $plugin_RealPlayer, $plugin_PDF,
                                     $plugin_WindowsMedia, $plugin_Gears, $plugin_Silverlight, $plugin_Cookie, $ip,
                                     $browserLang)
    {
        // prevent the config hash from being the same, across different Piwik instances
        // (limits ability of different Piwik instances to cross-match users)
        $salt = SettingsPiwik::getSalt();

        $configString =
              $os
            . $browserName . $browserVersion
            . $plugin_Flash . $plugin_Java . $plugin_Director . $plugin_Quicktime . $plugin_RealPlayer . $plugin_PDF
            . $plugin_WindowsMedia . $plugin_Gears . $plugin_Silverlight . $plugin_Cookie
            . $ip
            . $browserLang
            . $salt;

        if (!$this->isSameFingerprintsAcrossWebsites) {
            $configString .= $request->getIdSite();
        }

        $hash = md5($configString, $raw_output = true);

        return substr($hash, 0, Tracker::LENGTH_BINARY_ID);
    }
protected function getConfigHash ( Request $ request , $ os , $ browserName , $ browserVersion , $ plugin_Flash , $ plugin_Java , $ plugin_Director , $ plugin_Quicktime , $ plugin_RealPlayer , $ plugin_PDF , $ plugin_WindowsMedia , $ plugin_Gears , $ plugin_Silverlight , $ plugin_Cookie , $ ip , $ browserLang ) { // prevent the config hash from being the same, across different Piwik instances // (limits ability of different Piwik instances to cross-match users) $ salt = SettingsPiwik :: getSalt ( ) ; $ configString = $ os . $ browserName . $ browserVersion . $ plugin_Flash . $ plugin_Java . $ plugin_Director . $ plugin_Quicktime . $ plugin_RealPlayer . $ plugin_PDF . $ plugin_WindowsMedia . $ plugin_Gears . $ plugin_Silverlight . $ plugin_Cookie . $ ip . $ browserLang . $ salt ; if ( ! $ this -> isSameFingerprintsAcrossWebsites ) { $ configString .= $ request -> getIdSite ( ) ; } $ hash = md5 ( $ configString , $ raw_output = true ) ; return substr ( $ hash , 0 , Tracker :: LENGTH_BINARY_ID ) ; }
Returns a 64-bit hash that attemps to identify a user.
Maintaining some privacy by default, eg. prevents the merging of several Piwik serve together for matching across instances..

@param $os
@param $browserName
@param $browserVersion
@param $plugin_Flash
@param $plugin_Java
@param $plugin_Director
@param $plugin_Quicktime
@param $plugin_RealPlayer
@param $plugin_PDF
@param $plugin_WindowsMedia
@param $plugin_Gears
@param $plugin_Silverlight
@param $plugin_Cookie
@param $ip
@param $browserLang
@return string
Returns a 64 - bit hash that attemps to identify a user . Maintaining some privacy by default eg . prevents the merging of several Piwik serve together for matching across instances ..