public function tokenize($iv, $string = '')
    {
        if (empty($string)) {
            $string = $this->random_string();
        }

        return openssl_encrypt($string, 'AES-256-CBC', $this->_config->get('token'), 0, $iv);
    }