Random.secure constructor

Random.secure()

Creates a cryptographically secure random number generator.

If the program cannot provide a cryptographically secure source of random numbers, it throws an UnsupportedError.

Implementation

Random.secure() : _random = math.Random.secure();