2 ms·
arc4random is their high-quality pseudorandom generator that's seeded from a good source of randomness (namely, the getentropy system call).
by makomk 12y ago
arc4random is their high-quality pseudorandom generator that's seeded from a good source of randomness (namely, the getentropy system call).
- thirsteh 12y agoYes, 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.