ESP32 Arduino: Decode base64 string

preview_player
Показать описание
In this tutorial we are going to check how to decode a base64 encoded string, using the Arduino core and the ESP32.

**IMPORTANT NOTE**: as indicated in the implementation file of the library, the caller is responsible for freeing the returned buffer with the decoded string. So, although not included in the video, you should call the free function on the returned pointer when you no longer need it.

Written tutorial with full source code:

Related content (written tutorials):

A lot more ESP32 tutorials:

ESP8266 tutorials:
Рекомендации по теме
Комментарии
Автор

how to decode a file stored in string variable its says cannot convert unsinged char to string ???

pekogimso
Автор

Hi is it correct that authentication with base64 is not safe? If captured on the network, the data can easily be decoded and re-used to login right? I am searching for other safe ways to add authentication to login to the ESP32 webserver. Do you have links to other authentication methods for ESP32? I once heard someone was using an authentication method based on cookies for example, but I not find the code. :-)

SA-ojbo
welcome to shbcf.ru