Adafruit Huzzah Esp8266 ::: base64_encode won't work

there are mode base64 libraries in Library Manager. perhaps you are not using the right one