Random Problems in IoT
summary
Embedded devices often ship with terrible RNGs — an Arduino LCG seeds to 1 and cycles predictably (AVR full cycle ~2 days vs 26s on a laptop). A test rig and code (von Neumann extractor, Kaminsky-style sampler) evaluates entropy sources: a simple R/C circuit gives decent but very slow entropy and extra BOM, watchdog jitter loses entropy on reset, while thermistor LSB and RSSI samples produce fast, usable entropy to seed a CSPRNG (ChaCha20/Salsa20/Gimli); ESP32’s built-in HSM/Libsodium is a strong exception.
AI-written summary · about
chapters (21)
- 0:00Intro
- 1:45The problem
- 3:57The LCG
- 5:00What are random numbers
- 7:37How we use random numbers
- 10:41Things Network
- 13:01Arduino
- 14:57Maths
- 17:25Randomness
- 23:12Three Strings
- 25:13Randomness Definition
- 26:46Random Numbers
- 27:15Random Number Generator
- 28:34What can we do
- 30:32What do we need
- 36:37Watchdog Timer
- 39:01Mister Noise
- 40:58RSSI
- 43:31Results
- 45:14Conclusion
- 51:09Outro
