Cache/TagManager.php
private function encodeTags($tags)
    {
        if (!is_array($tags)) {
            $tags = array($tags);
        }

        if ($this->config['tag']['encode']) {
            $tmp = [];
            foreach ($tags as $tag) {
                $tmp[] = hash('crc32b', $this->config['tag']['secret'].$tag, false);
            }
            $tags = $tmp;
        }

        return $tags;
    }
private function encodeTags($tags)
    {
        if (!is_array($tags)) {
            $tags = array($tags);
        }

        if ($this->config['tag']['encode']) {
            $tmp = [];
            foreach ($tags as $tag) {
                $tmp[] = hash('crc32b', $this->config['tag']['secret'].$tag, false);
            }
            $tags = $tmp;
        }

        return $tags;
    }
Encodes the tags.

@param mixed $tags
@return array