From 458120dd40db6b4df55a4e96b650e16798ef06a0 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Tue, 3 May 2011 11:25:13 +0000 Subject: add hg and python --- sys/lib/python/sha.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sys/lib/python/sha.py (limited to 'sys/lib/python/sha.py') diff --git a/sys/lib/python/sha.py b/sys/lib/python/sha.py new file mode 100644 index 000000000..de3214cfd --- /dev/null +++ b/sys/lib/python/sha.py @@ -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 -- cgit v1.2.3