Skip to content

Updated mqtt_esp8266.ino to use a better source of random#1054

Open
Avamander wants to merge 1 commit intoknolleary:masterfrom
Avamander:patch-1
Open

Updated mqtt_esp8266.ino to use a better source of random#1054
Avamander wants to merge 1 commit intoknolleary:masterfrom
Avamander:patch-1

Conversation

@Avamander
Copy link
Copy Markdown

There's no point to use micros() instead of RANDOM_REG32 on ESP8266, if anything using micros() is rather insecure.

hmueller01 added a commit to hmueller01/pubsubclient3 that referenced this pull request Feb 26, 2025
hmueller01 added a commit to hmueller01/pubsubclient3 that referenced this pull request Feb 27, 2025
* switch to RANDOM_REG32 / esp_random() instead micros()

* see knolleary#1054
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant