Few tips:
On FreeBSD /dev/random blocks if there's no entropy in the pool.
On OpenBSD /dev/random is an alias for /dev/urandom
Use random(4) for script
Use arc4random (3) for C
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.