3 # Copyright (C) 2005 Gregory P. Smith (greg@krypto.org)
4 # Licensed to PSF under a Contributor Agreement.
7 warnings
.warn("the sha module is deprecated; use the hashlib module instead",
10 from hashlib
import sha1
as sha
13 blocksize
= 1 # legacy value (wrong in any useful sense)