]> git.lizzy.rs Git - plan9front.git/blob - sys/lib/python/sha.py
dist/mkfile: run binds in subshell
[plan9front.git] / sys / lib / python / sha.py
1 # $Id: sha.py 39316 2005-08-21 18:45:59Z greg $
2 #
3 #  Copyright (C) 2005   Gregory P. Smith (greg@electricrain.com)
4 #  Licensed to PSF under a Contributor Agreement.
5
6 from hashlib import sha1 as sha
7 new = sha
8
9 blocksize = 1        # legacy value (wrong in any useful sense)
10 digest_size = 20
11 digestsize = 20