]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[ sf.net patch # 1121611 ]
authorGregory P. Smith <greg@mad-scientist.com>
Sun, 21 Aug 2005 18:45:59 +0000 (18:45 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Sun, 21 Aug 2005 18:45:59 +0000 (18:45 +0000)
commitf21a5f773964d34c7b6deb7e3d753fae2b9c70e2
treeba3b66cea11da1d8e930555aa5a10f775a285d84
parent33a5f2af59ddcf3f1b0447a8dbd0576fd78de303
[ sf.net patch # 1121611 ]

A new hashlib module to replace the md5 and sha modules.  It adds
support for additional secure hashes such as SHA-256 and SHA-512.  The
hashlib module uses OpenSSL for fast platform optimized
implementations of algorithms when available.  The old md5 and sha
modules still exist as wrappers around hashlib to preserve backwards
compatibility.
21 files changed:
Doc/ACKS
Doc/Makefile.deps
Doc/lib/lib.tex
Doc/lib/libhmac.tex
Doc/lib/libmd5.tex
Doc/lib/libsha.tex
Doc/whatsnew/whatsnew25.tex
Lib/hashlib.py [new file with mode: 0644]
Lib/hmac.py
Lib/md5.py [new file with mode: 0644]
Lib/sha.py [new file with mode: 0644]
Lib/test/regrtest.py
Lib/test/test_hashlib.py [new file with mode: 0644]
Lib/test/test_hashlib_speed.py [new file with mode: 0644]
Lib/test/test_hmac.py
Modules/_hashopenssl.c [new file with mode: 0644]
Modules/md5module.c
Modules/sha256module.c [new file with mode: 0644]
Modules/sha512module.c [new file with mode: 0644]
Modules/shamodule.c
setup.py