My security guy asked me a question about where my randomness came from. ( I assume he means random numbers in my scripts, not my general randomness ).
My platform does have /dev/urandom and I would hope that this would be the seed for perl's rand PRNG.
From reading perldoc -f srand I have:
uses a semi-random value supplied by the kernel (if it supports the /dev/urandom device) or based on the current time and process ID, among other things.
So now I know that I could possibly be using /dev/urandom. How can I tell if I am actually using it?
In reply to What is the truth about srand()? by mull
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |