encodes and decodes a HEX string in Splunk