I have 2 rf modules (HC-12) hooked to 2 Arduino Nano.
Everything works great so far and I want to move to the next step: encrypting the communication between the 2 modules.
I'm having a very hard time finding here and on google a library that works and provides simple example. Can you recommend something?
The only "official" aes lib on the arduino IDE is an esp8266 wrapper.
The only piece of code more or less working that I came accross on this forum is here: encrypt string sous Arduino <-> decrypt string sous PHP
but is has fixed IV and feels a bit potatoe somehow.
I'd like to use something that does not rely on a 5 years old repo that has never been updated since?
"Official" means nothing in this case, and if you are really concerned about data security, hobby application code found on web is the last place you would look.
There are several Arduino-compatible libraries that implement most of the popular encryption techniques.
Off topic I know, but I have to ask ..... what's so important / secrete about the communication that you think you need to encrypt it and why do you think anyone else is interested in snooping?