3 ms·
NetBSD has a sysctl to give random data, which cannot fail, which is what arc4random uses. OpenBSD has their getrandom syscall now (in 5.6). I dont know of a Fr
by justincormack 12y ago
NetBSD has a sysctl to give random data, which cannot fail, which is what arc4random uses. OpenBSD has their getrandom syscall now (in 5.6). I dont know of a FreeBSD syscall.
- tedunangst 12y agoFreeBSD has the sysctl too. (oh, and openbsd syscall is called getentropy.)
- justincormack 12y agoYeah I knew it didnt have the same name but I forgot what... thanks for the correction.