library/Extlib/Utils.php
public function checkSignCode(array $params, $secret)
    {
        if (false === isset($params[self::SIGN_NAMESPACE])) {
            return false;
        }

        return $params[self::SIGN_NAMESPACE] === $this->generateSignCode($params, $secret);
    }
public function checkSignCode(array $params, $secret)
    {
        if (false === isset($params[self::SIGN_NAMESPACE])) {
            return false;
        }

        return $params[self::SIGN_NAMESPACE] === $this->generateSignCode($params, $secret);
    }
Check sign code for request

@param array $params
@param string $secret
@return boolean