private function computeHash($uri)
    {
        if (!isset($this->secret)) {
            $this->secret = $this->tensideConfig->getSecret();
        }

        return urlencode(base64_encode(hash_hmac('sha256', $uri, $this->secret, true)));
    }