I am working on a project with encryption, the project is to encrypt sensor(temperature sensor) data from arduino side and send it to the raspberry pi and must be decrypted there. i am using AES (Advanced Encryption Standard) for this purpose.
The problem that i have faced is:
1. The encrypted data which is being printed on the arduino serial monitor is not the same that is being printed on the raspberry pi. I have used <string>.decode('utf-8') too, but still it doesnt decode the whole string, it neglects some part of the encrypted string from the arduino side.
Please help me out with this.