Shakir Hussain
Posts: 1
Joined: Mon Jul 15, 2019 3:14 pm

AES library

Mon Jul 15, 2019 3:49 pm

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.

User avatar
Posts: 6424
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: AES library

Tue Jul 16, 2019 12:16 am

What does "some parts" mean ? The start, the middle, the end ? Some examples would probably be very enlightening..

Return to “General discussion”