MQTT Payload Encryption using AES and ChaCha for NodeMCU (ESP8266) with NodeJS decrypting script (runs from command) and Python MQTT client (stores locally). Testing was done using Python script.
Libraries used:
- Crypto
- Node Crypto
- PubSubClient
- ArduinoJson
- paho.mqtt
- Matplotlib
- node-forge
- ChaChaPolyHelper
- AES
- base64
Broker: