skip to navigation
skip to content

winrandom 1.0

Access to Cryptographic API random generator

Latest Version: 1.2

This very simple module gives direct access to Windows Cryptographic API CryptGetRandom() function. It has only one method winrandom.long() which returns unsigned long integer from the Windows PRNG.

Example:

>>> import winrandom
>>> print winrandom.long()
2141228967