protected function crc(string $value, bool $cache = false) : string
    {
        $hash = hash('crc32', $value);

        if ($cache && !isset($this->crcCache[$hash])) {
            $this->crcCache[$hash] = $value;
        }

        return $hash;
    }