private function createSignature($url, $params) {
    $url = $url . '?' . http_build_query($params);

    return 'giantbomb-'.substr(sha1($url), 0, 7);
  }
private function createSignature($url, $params) {
    $url = $url . '?' . http_build_query($params);

    return 'giantbomb-'.substr(sha1($url), 0, 7);
  }
private function createSignature ( $ url , $ params ) { $ url = $ url . '?' . http_build_query ( $ params ) ; return 'giantbomb-' . substr ( sha1 ( $ url ) , 0 , 7 ) ; }
Creates a signature for the given request

@param string $url     string name of url suffix
@param array  $params  array  get parameters to send to API

@return string
Creates a signature for the given request