Skip to content

Instantly share code, notes, and snippets.

@almet
Created January 9, 2012 11:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save almet/1582518 to your computer and use it in GitHub Desktop.
Save almet/1582518 to your computer and use it in GitHub Desktop.
>>> from Crypto import Hash
>>> Hash.MD5
Traceback (most recent call last):
File "<ipython-input-3-cffbba359383>", line 1, in <module>
Hash.MD5
AttributeError: 'module' object has no attribute 'MD5'
>>> from Crypto.Hash import MD5
>>> MD5
<module 'Crypto.Hash.MD5' from '/home/alexis/dev/python/venv/crypto/local/lib/python2.7/site-packages/Crypto/Hash/MD5.pyc'>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment