Date: Tue, 24 May 2005 21:35:37 -0400 From: Nicolas Blais <nb_root@videotron.ca> To: freebsd-questions@freebsd.org Subject: Re: srandomdev() vs srandom() vs arc4random() Message-ID: <200505242135.57579.nb_root@videotron.ca> In-Reply-To: <20050525011818.GA7992@xor.obsecurity.org> References: <200505242113.54226.nb_root@videotron.ca> <20050525011818.GA7992@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1283729.kYUWfthoOU Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > arc4random() should produce higher quality randomness, although > srandom() may be good enough for your needs. > > > Finally, is there is a way to check if the call srandomdev() exists on > > other OSes? > > Sure, compile a test app in your configure script :-) > > Kris Thanks, I'm assuming arc4random() is also limited to *BSD? Nicolas =2D-=20 =46reeBSD 6.0-CURRENT #2: Sun May 22 11:29:47 EDT 2005 =20 nicblais@clk01a:/usr/obj/usr/src/sys/CLK01A=20 PGP? : http://66.130.198.54:8081/security/nb_root.asc --nextPart1283729.kYUWfthoOU Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBCk9Z9z38ton5LGeIRAp0EAJ9O2IlT6sCwO1YlKAxAthSg+veO3gCgpTFC 4iAf1BxzdN85s275CBUCJIs= =lu8Q -----END PGP SIGNATURE----- --nextPart1283729.kYUWfthoOU--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505242135.57579.nb_root>