Hi, Linux-Fan wrote: > I wrote a program to automatically generate random bytes in multiple > threads: > https://masysma.net/32/big4.xhtml > ... > || Wrote 102400 MiB in 13 s @ 7812.023 MiB/s
That's impressive. > Secure Random can be obtained from OpenSSL: > > | $ time for i in `seq 1 100`; do openssl rand -out /dev/null $((1024 * 1024 > * 1024)); done > | > | real 0m49.288s > | user 0m44.710s > | sys 0m4.579s > Effectively 2078 MiB/s (quite OK for single-threaded operation). Probably the best choice for sceptics who critizise a reproducible random stream or mistrust random people's aptness to produce random. (If the number of desired loops gets larger, then one could do arithmetik in a "while" loop instead of "for" and "seq".) Have a nice day :) Thomas