OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: How to use /dev/srandom

From: Kevin Chadwick (ma1l1istsyahoo.co.uk)
Date: Wed Sep 29 2010 - 11:49:56 CDT


On Wed, 29 Sep 2010 10:02:16 -0600
Theo de Raadt <deraadtcvs.openbsd.org> wrote:

> > And isn't srandom sometimes (very rarely!) appropriate? E.g. for
> > generating encryption keys?
>
> hell no!
>
> srandom is definately worse than the arc4random generator.
>
> oh, but linux people told you it was the best. I get it.
>

I notice arandom doesn't pause. Is arandom always better or only when
there's enough entropy?