This very simple Python 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

Witaj na IT wiadomości.
comment