Simple decode & encode of a raw string to hex and Base64 digits (using the binascii and base64 module respectively)