TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Random Power – The value of unpredictability (TRNG board)

1 pointsby RcrdBrtover 3 years ago

1 comment

jeplerover 3 years ago
Not much information about the hardware randomness source.<p>Information on how to generate digital TRNG from a reverse-biased PN junction has been all over the internet for a couple of decades. My 2009 design, which simply slotted into an Arduino board, furnished 200kB&#x2F;s (1.6Mbit&#x2F;s) of data that passed all the statistical tests I threw at it at the time (mostly diehard(er)).<p>To do all this in an 8-bit microcontroller running at 16MHz required coding in assembly and conditioning the raw noise with a noncryptographic hash. <a href="https:&#x2F;&#x2F;emergent.unpythonic.net&#x2F;01257868826" rel="nofollow">https:&#x2F;&#x2F;emergent.unpythonic.net&#x2F;01257868826</a><p>Nowadays with an embedded microcontroller like a SAM D51, even if you want to ignore the built in TRNG that can apparently generate over 40Mbit&#x2F;s (32 bits per 84 cycles, CPU runs at 120MHz) and meets NIST &#x2F; FIPS requirements, you could do much better by sampling random data more frequently and using a cryptographic conditioning function.