[pycrypto] No SHA1?
dmacinskas at geobridge.net
Wed Oct 19 12:17:09 CST 2011
Personally, I just use Michael Foord's PyCrypto Windows builds: http://www.voidspace.org.uk/python/modules.shtml#pycrypto
Then I don't need a compiler.
I think my problem was trying to run on a 64-bit platform. Moving to 32-bit XP seems to fix it. And the Windows build referenced above did the trick.
The documentation says that SHA1 is supported, but I see:
from Crypto.Hash import *
Traceback (most recent call last):
File "C:\Documents and Settings\dpm\My Documents\KB\TR31\tr31.py", line 20, in <module>
ho = SHA1.new()
NameError: name 'SHA1' is not defined
Was it removed?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pycrypto