in reply to Re: Cryptographic Random Numbers
in thread Cryptographic Random Numbers

Like he said, his platform has a dev/random device. Windows has a API function. It's easy enough to hide those behind a Perl module that has different code for each platform. But there are other sources.

The "next perl instruction" is essentially random if taken using the CPU cycle counter's least few bits. And that's just one source of (some) entropy, not a suitable random number in itself.

—John