Joe Conway writes:
> seconds). The same test with /dev/urandom returns instantly. Perhaps there
> should be an option to use either. For instances where only a few truly
> random bytes is needed (i.e. one session key), use /dev/random. When you
> need many random bytes quickly, use /dev/urandom?
Not sure if this is intuitive. How many bytes is "a few"? Maybe just be
honest about it and name them randomstr and urandomstr or such.
--
Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter