Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

Picking an encryption for just works mode with rolling counter

Hello,

I am using a nRF52833, and have an open characteristic in just works mode. I need to send encrypted data on this characteristic, however, the encrypted text needs to change if the same message was sent. For example, if I send "Hello world" twice, the encrypted text should be different. I was thinking of adding a counter variable appended on the key, but wasn't sure if something like this already exists for the nRF52833, as well as what encryption would be best.

Related