Saigonauticon,

There’s a detailed description on my home instance, along with other stuff.

The short version is it uses a pair of BJT transistors to produce and amplify diode breakdown noise. That’s amplified to TTL levels by some hex inverters. Then an 8-bit microcontroller passes it through a Von Neumann whitewashing algorithm (clock-cycle balanced in assembly language) to produce unbiased bits, which it accumulates into bytes. It’s not a ‘safe’ way to use transistors and they will fail one day, but it will be fine for quite some time still.

Then an ESP32 samples the bytes from the 8-bit MCU. It connects to Wi-Fi and pushes it to the cloud over MQTT. A server listens for the random bytes, and uses them with the traditional I-Ching algorithm (yarrow-stick probabilities). Coding the yarrow-stick probabilities into an algorithm was a pain compared to the newer method that uses coin tosses :D

Also I had to convert the I-Ching to JSON, so I could programmatically pull the correct divination from it. The whole thing is gloriously absurd.

I have build a few particle detectors so I can use quantum-tunneling to produce the entropy instead (so an upgrade from a hardware RNG to a quantum RNG), but the radiation sources I have access to are a bit too weak to generate sufficient entropy.

I can’t imagine any of this has any practical application, unless you happen to be a time traveler. In that case have work to do, meet me last week and we’ll talk about it :P

Oh incidentally if the bot is down, let me know and I’ll gently beat it into submission so it works again.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • [email protected]
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • oklahoma
  • Socialism
  • KbinCafe
  • TheResearchGuardian
  • SuperSentai
  • feritale
  • KamenRider
  • All magazines