This module provides a common interface to the various cryptographic random numbers that may be available on a particular system. The module defines one function random and one constant implementation, which is a string that describes the implementation used for random.
The implementation depends on the random number generators available on a particular system. On Linux systems, /dev/random is used. This module can also use the Yarrow daemon provided with Pisces or the Entropy Gathering Daemon from gpg if it is installed in ' /.gnupg/entropy.
WARNING: If no cryptographic random number generator is available, Python's whrandom implementation will be used. The is not a cryptographic random number generator.