Updated base64 enconder