Hacker News new | ask | show | jobs
by anologwintermut 4132 days ago
Is one of /the main prng on FreeBSD actually arc4random? I.e. RC4?
1 comments

Libc arc4random still uses rc4. The kernel code is actually kind of tangly. I think it still uses rc4 for explicit arc4random calls, but I'm not certain exactly what comes out of /dev/random.
/dev/random on FreeBSD uses Yarrow: http://en.wikipedia.org/wiki/Yarrow_algorithm