encoding

HexEncode

The hexencode subcommand is used to encode data into hexadecimal format:

| eval encoded=hexencode(<expression>)

HexDecode

The hexdecode subcommand is used to decode data in the <> format, it will return a utf-8 string so if binary data is decoded it will be converted and any unprintable characters will be replaced with '�':

| eval decoded=hexdecode(<expression>)

Base64Encode

The b64encode subcommand is used to encode data into the base 64 format:

| eval encoded=b64encode(<expression>)

Base64Decode

The b64decode subcommand is used to decode data in the <> format, it will return a utf-8 string so if binary data is decoded it will be converted and any unprintable characters will be replaced with '�':

| eval decoded=b64decode(<expression>)

UrlEncode

The urlencode subcommand is used to URL-encode a string. This function converts all values that are not allowed in a URL into their %-delimited hexadecimal representation:

| eval encoded=urlencode(<expression>)

UrlDecode

The urldecode subcommand is used to decode data in the <> format, it will return a utf-8 string so if binary data is decoded it will be converted and any unprintable characters will be replaced with '�':

| eval decoded=urldecode(<expression>)