/gdata/Crypto/Hash/SHA.py

http://radioappz.googlecode.com/ · Python · 11 lines · 7 code · 3 blank · 1 comment · 1 complexity · b037afb9f239fd48e31daa0ee31f8ed1 MD5 · raw file

  1. # Just use the SHA module from the Python standard library
  2. __revision__ = "$Id: SHA.py,v 1.4 2002/07/11 14:31:19 akuchling Exp $"
  3. from sha import *
  4. import sha
  5. if hasattr(sha, 'digestsize'):
  6. digest_size = digestsize
  7. del digestsize
  8. del sha