public function isValid(ShaComposer $shaComposer)
    {
        if (function_exists('hash_equals')) {
            return hash_equals($shaComposer->compose($this->parameters), $this->shaSign);
        } else {
            return $shaComposer->compose($this->parameters) == $this->shaSign;
        }
    }