[PYTHON-CRYPTO] Another amkCrypto/win32 issue

Itamar S.-T. itamarst at YAHOO.COM
Mon Apr 23 13:39:10 CEST 2001


In Windows, the resolution in time.time() is not as
high as in Unix. As a result the use of the delta
between time.time() calls as entropy in
Crypto.Utils.randpool fails (the delta is always 0.0).

The solution I found was to use time.clock() instead
of time.time().

=====
Itamar Shtull-Trauring, itamar(at)shtull-trauring.org

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/



More information about the python-crypto mailing list