srandomdev() vs srandom() vs arc4random()

Nicolas Blais nb_root at videotron.ca
Tue May 24 18:36:09 PDT 2005


> 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
-- 
FreeBSD 6.0-CURRENT #2: Sun May 22 11:29:47 EDT 2005     
nicblais at clk01a:/usr/obj/usr/src/sys/CLK01A 
PGP? : http://66.130.198.54:8081/security/nb_root.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050524/e7660e1e/attachment.bin


More information about the freebsd-questions mailing list