Exception handling now raises KeyboardInterrupt and SystemExit rather than passing...
[python.git] / Lib / sha.py
blob9d914a9b532b5890bed51e0f552d4a1937b7095f
1 # $Id$
3 # Copyright (C) 2005 Gregory P. Smith (greg@electricrain.com)
4 # Licensed to PSF under a Contributor Agreement.
6 from hashlib import sha1 as sha
7 new = sha
9 blocksize = 1 # legacy value (wrong in any useful sense)
10 digest_size = 20
11 digestsize = 20