protected function generateLocationAuth(string $authTicket, float $latitude, float $longitude, float $altitude = 0.0)
    {
        $seed = hexdec(xxhash32($authTicket, 0x1B845238));
        return (int)hexdec(xxhash32($this->getLocationBytes($latitude, $longitude, $altitude), (int)$seed));
    }
protected function generateLocationAuth(string $authTicket, float $latitude, float $longitude, float $altitude = 0.0)
    {
        $seed = hexdec(xxhash32($authTicket, 0x1B845238));
        return (int)hexdec(xxhash32($this->getLocationBytes($latitude, $longitude, $altitude), (int)$seed));
    }
protected function generateLocationAuth ( string $ authTicket , float $ latitude , float $ longitude , float $ altitude = 0.0 ) { $ seed = hexdec ( xxhash32 ( $ authTicket , 0x1B845238 ) ) ; return ( int ) hexdec ( xxhash32 ( $ this -> getLocationBytes ( $ latitude , $ longitude , $ altitude ) , ( int ) $ seed ) ) ; }
Generate location auth hash

@param string $authTicket
@param float $latitude
@param float $longitude
@param float $altitude

@return number
Generate location auth hash