mirror of https://github.com/python/cpython
5f6b4a53c2
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82351 | brian.curtin | 2010-06-28 19:14:28 -0500 (Mon, 28 Jun 2010) | 3 lines Update md5driver.py for 3.x. Changed an import, replaced md5.new() with md5(), and added an encode where needed. ........ |
||
---|---|---|
.. | ||
README | ||
foo | ||
md5driver.py |
README
This is the Python version of the MD5 test program from the MD5 Internet Draft (Rivest and Dusse, The MD5 Message-Digest Algorithm, 10 July 1991). The file "foo" contains the string "abc" with no trailing newline. When called without arguments, it acts as a filter. When called with "-x", it executes a self-test, and the output should literally match the output given in the RFC. Code by Jan-Hein B\"uhrman after the original in C.