changeset 0 | ae805ac0140d |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-2.5.2/win32/Lib/sha.py Fri Apr 03 17:19:34 2009 +0100 @@ -0,0 +1,11 @@ +# $Id: sha.py 39316 2005-08-21 18:45:59Z greg $ +# +# Copyright (C) 2005 Gregory P. Smith (greg@electricrain.com) +# Licensed to PSF under a Contributor Agreement. + +from hashlib import sha1 as sha +new = sha + +blocksize = 1 # legacy value (wrong in any useful sense) +digest_size = 20 +digestsize = 20