private function getHash(Cookie $cookie): string
    {
        return sha1(sprintf(
            '%s|%s|%s',
            $cookie->getName(),
            $cookie->getAttribute(Cookie::ATTR_DOMAIN),
            $cookie->getAttribute(Cookie::ATTR_PATH)
        ));
    }