Implement AES-128 encryption
Closed this issue · 1 comments
mohamedboubaker commented
Position data sent to the server must be encrypted.
A function to encrypt the position payload should be developed.
- Encryption Algorithm AES-128
- Key should be introduced in the code. Probably not a good a idea, because someone who can extract the firmware from the MCU can read the Encryption key. This can be enhanced in the future. Possible solution would be to enable read-out protection on the MCU.
- Electronic Code Book chaining mode is enough. (for now)
mohamedboubaker commented
AES function is developed in this repo