go ahead... be a heretic | |
PerlMonks |
RE: 64 bit random numbersby atl (Pilgrim) |
on Oct 30, 2000 at 20:14 UTC ( [id://39105]=note: print w/replies, xml ) | Need Help?? |
Howdy!
Digsy asked: Depends on what you need the random numbers for. Just shuffling the songs for your tremendous mp3 collection? Your suggestion might do fine then (albeit slow), almost anything will. If it's for security purposes (read: encryption and so on), you need the real thing. I think the suggested Math:: and Crypt:: modules will be right (didn't check the docs, though). Also, getting a good noise source to seed your random number generator is kind of tricky and OS dependent, if I remember a talk about GPG correctly. (GNU Privacy Guard, an open (who'd thought that!?) PGP replacement). Have fun ... Andreas
In Section
Seekers of Perl Wisdom
|
|