mirror of
https://github.com/Perl/perl5.git
synced 2026-01-26 08:38:23 +00:00
On libc (*nix) systems we call `getentropy()` to get the seed needed to start the PRNG. If that call fails, we fall back to reading the filesystem via `/dev/urandom`. If that fails we fall back to hashing some state variables instead. This should be faster, less risky, and generally better than trying to read from `/dev/urandom` Foo