Changing base64 encoding process