Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

arc4random is their high-quality pseudorandom generator that's seeded from a good source of randomness (namely, the getentropy system call).


Yes, but like urandom the general intent (at least when performance is desired) is you use it to seed your own PRNG and avoid making system calls every time you need random data.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: