Add hex to base64 decoding