Arm Mbed OS support forum

Problem with Decrypt AES 128 ECB-mode

I developed a server application that obtains the data from a dht11 sensor, I encrypt it with aes 128 and publish it on the server. The client application makes a request to the server, and I would like to decrypt the answer.
When I want to display decrypted message, it shows garbage
image

The message retrieved from the server is in hex. I think that must to convert hex in binary, but i don’t know how can do it…