use minimal base64 encoding library