summaryrefslogtreecommitdiff
path: root/Lib/sha.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/sha.py')
-rw-r--r--Lib/sha.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/Lib/sha.py b/Lib/sha.py
new file mode 100644
index 0000000000..9d914a9b53
--- /dev/null
+++ b/Lib/sha.py
@@ -0,0 +1,11 @@
+# $Id$
+#
+# 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