Cryptographically secure random implementation, with fallback on normal random.
| Variable | getrandbits | Undocumented |
| Class | SecureRandomNotAvailable | Exception raised when no secure random algorithm is found. |
| Class | SourceNotAvailable | Internal exception used when a specific random source is not available. |
| Class | RandomFactory | Factory providing secureRandom and insecureRandom methods. |
| Variable | factory | Undocumented |