Tip: using /dev/random
Aug. 5th, 2009 01:53 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Technical, goes under cut
Just a tip, proabbly trivial.
I just had to generate a lot of keys for debugging, so used /dev/random a lot.
It takes ages when I do usual stuff (text editing, web browsing, compiling smaller projects. So I was thinking what can I run to bring more entropy to /dev/random. CPU hungry tasks are not that convenient and nearly useless for my goal. The best thing so far was
# grep -r "AAAAAAA!" /usr/src/linux-2.6.30
Works instantly :)
The problem will go away if (actually when) CPUs will provide an entropy source.
Just a tip, proabbly trivial.
I just had to generate a lot of keys for debugging, so used /dev/random a lot.
It takes ages when I do usual stuff (text editing, web browsing, compiling smaller projects. So I was thinking what can I run to bring more entropy to /dev/random. CPU hungry tasks are not that convenient and nearly useless for my goal. The best thing so far was
# grep -r "AAAAAAA!" /usr/src/linux-2.6.30
Works instantly :)
The problem will go away if (actually when) CPUs will provide an entropy source.