3 ms·
Providing good random numbers should be done by the OS (kernel and libc). Don't try to fake it in userland. Please wiggle your mouse for 1 minute so we can
by ben_bai 9y ago
Providing good random numbers should be done by the OS (kernel and libc). Don't try to fake it in userland.
Please wiggle your mouse for 1 minute so we can gather entropy for you AES key.
REALLY?
- rocqua 9y agoI always though that was supposed to feed /dev/urandom.
- deleted 9y ago[deleted]
- ben_bai 9y ago/dev/urandom is a perfectly good source for random numbers. Because it's fed from the kernel which is gathering all kinds of entropy, including mouse movement interrupt timings. Bad implementations not considered. One problem with /dev/urandom is you always have to open it, create a filedescriptor just to get to some random number!?