summaryrefslogtreecommitdiff
path: root/Lib/sha.py
blob: 9d914a9b532b5890bed51e0f552d4a1937b7095f (plain)
1
2
3
4
5
6
7
8
9
10
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