Hello everyone, Research, real test security solutions Data security for IoT based devices on Arduino Use AES-128, I would like to ask how to implement this problem? Thanks.
Take a c-string, encrypt it and store the result in a new variable (array of bytes). Next take that new variable and decrypt it to a new c-string and compare the two c-strings.
Thank you, I'm having trouble understanding the problem here for the implementation test: do I need to use 2 Ardiuno kits to exchange data back and forth and display it on the screen and upload it to the app, then compare?
I translated your title. Please make sure to write in English in the general forum.
To your question. No only one arduino.
Encode a phrase
Decode the encoded phrase
Compare the original phrase with the decoded phrase
If they are equal, this is likely working.
No
What screen?
What app?
There are standard methods of testing an encryption library, usually using agreed-upon "test vectors". If the Arduino takes the standard test vectors and encryption keys as input and produces the expected output, then it is probably working correctly.
This overview should get you started: Cryptographic Algorithm Validation Program | CSRC
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.