HEX_TO_BASE64

A function used to convert a hex-encoded string to a base64-encoded string.