3 ms·
4-line random number generator in JS by Dan Kaminsky
- oleganza 13y agoThe idea here is to flip a coin based on how unpredictably interrupts happen. This is slow, but allows good distribution of bits (if launched on a real multitasking machine, not an accurate emulator). And for many bits it's going to be slow. (>1 ms per bit). It was posted today, so it's early to say how strong this RNG is.