Issue #2047: shutil.move() could believe that its destination path was
[python.git] / Lib / sha.py
blob41dde8dde27b57c8d1fe9a3b06ee13b8aa9af5d7
1 # $Id$
3 # Copyright (C) 2005 Gregory P. Smith (greg@krypto.org)
4 # Licensed to PSF under a Contributor Agreement.
6 import warnings
7 warnings.warn("the sha module is deprecated; use the hashlib module instead",
8 DeprecationWarning, 2)
10 from hashlib import sha1 as sha
11 new = sha
13 blocksize = 1 # legacy value (wrong in any useful sense)
14 digest_size = 20
15 digestsize = 20