Native base64 encoding