Showing results for 
Search instead for 
Did you mean: 

AES CBC encryption


I have implemented AES encryption for MQTT messages. In this endeavor, I've updated the code to incorporate AES encryption for MQTT messages using the CMOX library. The "cmox_cipher_encrypt" function is now employed to encrypt MQTT messages using AES CBC mode. I successfully encrypted my message and observed the encrypted message on MQTT.

However, I'm encountering an issue with decrypting the posted message. I've attempted to use online decryption tools, but they seem to provide an encrypted size that is double that of the input message. In contrast, our CubeIDE shows that the input and output sizes should be the same. How can I proceed with this process?


Need to figure out how the online calculator expects data to be formatted. Guessing you feed hex and it interprets as ASCII 

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..