3 ms·
This is basically what the Infinite Noise[1] project does. Speed is limited by the speed of a gain stage and a comparator, and can run in excess of 100 Mbit/se
by magicalhippo 6y ago
This is basically what the Infinite Noise[1] project does.
Speed is limited by the speed of a gain stage and a comparator, and can run in excess of 100 Mbit/second per second with high performance components. Cheap solutions with CMOS quad op-amps can run at 8Mbit/second.
This implementation uses Keccak-1600 with cryptographically secure reseeding of more than 400 bits of entropy at a time, overcoming a trickle in/out problem present in the GNU/Linux /dev/random system. Users who need many megabytes per second of data for use in cryptography can set the outputMultiplier as high as they like, which causes Keccak to generate outputMultiplier*256 bits per reseeding by the Infinite Noise TRNG.
[1]: https://github.com/waywardgeek/infnoise https://github.com/waywardgeek/infnoise
- m463 6y agothey sell usb dongles based on this on crowdsupply: https://www.crowdsupply.com/13-37/infinite-noise-trng https://www.crowdsupply.com/13-37/infinite-noise-trng Honestly, I tried generating an ssh key and I thought the pictogram would look like static on an old tv set, but it didn't look measurably different. Maybe a better measure might have been timing it?
- azornathogron 6y agoThe purpose of the "randomart" visual hash of the key fingerprint is to let you quickly check that you've got the right key, because you recognise it, or can compare it by eye somewhat easily. If it didn't have structure to the pattern then it would defeat the purpose.
- m463 6y agoOh, I see now. I guess I confused it with some other software I used - I can't recall what - that showed some sort of randomness display.
- eru 6y agoAny prng that's worth its salt should look totally random in almost any test to the human eye. Even those that are not cryptographically secure.