xreef / LoRa_E32_Series_Library

Arduino LoRa EBYTE E32 device library complete and tested with Arduino, esp8266, esp32, STM32 and Raspberry Pi Pico (rp2040 boards). sx1278/sx1276
https://www.mischianti.org
Other
368 stars 75 forks source link

encryption ? #35

Closed cryptolok closed 2 years ago

cryptolok commented 2 years ago

hi, first of all, thank you for the work that allows people to simplify the things ^^ I was just wandering, what's the purpose of the encryption function ? as far as I can see, this part of code it never used and the data is sent in clear to the device, I know the E32 user manual specifies encryption and compression, so that would mean that it's hardware-based, not software although, the KeeLoq algorithm is not a rare thing for IoT, I still would like to know the choice of the key :) thanks

xreef commented 2 years ago

Hi, cryptolok, Yes, the encryption is hardware-based, but if you use a broadcast and somebody listens to the message, he can read the news with another e32. In my mind, I started to think about additional encrypting for the message, but I never developed and documented it. Bye Renzo