Can I generate authentic random number with python?

The documentation for the random module has this to say:

Warning: The pseudo-random generators of this module should not be used for security purposes. Use os.urandom() or SystemRandom if you require a cryptographically secure pseudo-random number generator.

Leave a Comment