3 ms·
/dev/random, not /dev/urandom, if I'm not mistaken.
by joelthelion 11y ago
/dev/random, not /dev/urandom, if I'm not mistaken.
- MrRadar 11y agoThat's somewhat debatable: http://www.2uo.de/myths-about-urandom/ http://www.2uo.de/myths-about-urandom/ But really either will be way better than anything you could homebrew.
- DanBC 11y ago(EDIT: I reread this and it sounds like I'm ranting at you. Sorry, I'm not, even though it does read like that.) This is why cryptography is doomed to fail. This /dev/random vs /dev/urandom (blocking vs non-blocking and whether it matters) is discussed frequently on HN, usually with very long threads, and yet it still comes up. If I want to remember whether there's an apostrophe in possessive its there's a cartoon to tell me. We need a good, accurate, fact-checked cartoon for urandom vs random. (It's one of the things I'd do if I had FU money.)