Math::Prime::Util::Entropy(3pm)

Math::Prime::Util::Entropy3pm

Get a good random seed

Version

Version 0.73

Overview

Provides a single method to get a good seed if possible. This is a streamlined version of Crypt::Random::Seed, with ideas from Bytes::Random::Secure::Tiny.

entropy_bytes

Takes a number of bytes "n" and returns either undef (no good seed available) or a binary string with good entropy.

We try in order:

   - the Win32 Crypto API
   - /dev/urandom
   - /dev/random
   - L<Crypt::Random::Seed>
   - L<Crypt::PRNG>

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11
  3. 12
  4. 13

Authors

Dana Jacobsen <[email protected]>

From libmath-prime-util-perl 0.73-2+b5 in Debian 13 (Trixie). Parsed by carta from the page's man source.