You want to see something really random? Infinite entropy returns
Remember a few posts ago where I talked about entropy, randomness, and how it was under-estimated as important for a high shared-user dynamic environment like public cloud? Some folks commented that the /dev/urandom was good enough. But, when there’s a gadget on the line, why settle?
So I bought the “Infinite Noise TRNG“. In fact, I bought two.
Interestingly, they came w/ 2 ‘user manuals’, and one is colour, one black and white, both the same version. Interesting. Its hand-printed and folded, the devices are also hand-made. Remember when gadgets where hand-made? Pepperidge farms doesn’t!
So, lets plug it in. Shows up as an ‘13-37‘ usb device (below).
This one is neat since it uses a ‘whitening’ algorithm. You see, in random generators, its possible that adjacent bits are correlated, so they run it through Keccak/SHA3 to smooth that out. We have a ‘github repo‘ with the cad images and software, in case we want to build our own. Its worth checking out the link, he goes into details on the design and how it functions.
./infnoise | pv > /dev/random 448KiB 0:00:13 [39.0KiB/s] ==>
OK, seems to generate about 35-45KiB/s of random. Is that infinite? Well, if you run it long enough 🙂
Now, I’m thinking of selling my random numbers to pay for this gadget. Maybe i’ll set up a site you can buy my bits to use in your private keys, seems like a good idea eh? Why generate your own slow, possible not random, when you can buy it from a stranger and feel more secure?
[6388951.178077] usb 2-22.214.171.124.1.4: new full-speed USB device number 41 using ehci-pci [6388951.403596] usb 2-126.96.36.199.1.4: New USB device found, idVendor=0403, idProduct=6015, bcdDevice=10.00 [6388951.403605] usb 2-188.8.131.52.1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [6388951.403611] usb 2-184.108.40.206.1.4: Product: Infinite Noise TRNG [6388951.403615] usb 2-220.127.116.11.1.4: Manufacturer: 13-37.org [6388951.403620] usb 2-18.104.22.168.1.4: SerialNumber: 1337-17C08314 [6388951.431663] usbcore: registered new interface driver ftdi_sio [6388951.431688] usbserial: USB Serial support registered for FTDI USB Serial Device [6388951.432016] ftdi_sio 2-22.214.171.124.1.4:1.0: FTDI USB Serial Device converter detected [6388951.432058] usb 2-126.96.36.199.1.4: Detected FT-X [6388951.432419] usb 2-188.8.131.52.1.4: FTDI USB Serial Device converter now attached to ttyUSB0