base64 encode arguments.