The Randomness Refinery

Raw quantum noise goes in on the left. A SHA-256 mixer refines it. Perfect randomness comes out on the right. Same source, side by side.

Light sensorraw readings
⚙ SHA-25664 bytes in → 32 out
Refinedrandom bytes
Speed
Sensor flaws
Raw in: 0 bytes · Refined out: 0 bytes

Raw

Straight off the sensor. Real physics, with real quirks: some values come up more often, and each reading leans toward the last.

Byte wall. Every byte is a dot: dark = 0, bright = 255. Newest at the top.

How often each byte value (0–255) appears. Fair dice would be flat.

Pairs map. Each dot is one byte (across) and the next (up). Random fills the square evenly.

Refined

The same raw readings, 64 bytes at a time, run through SHA-256. Out come 32 bytes that are as even as dice can be.

Byte wall. Every byte is a dot: dark = 0, bright = 255. Newest at the top.

How often each byte value (0–255) appears. Fair dice would be flat.

Pairs map. Each dot is one byte (across) and the next (up). Random fills the square evenly.

Warming up the sensor…
Demo mode: the raw side is a simulated light sensor.