md5

所属分类:数值算法/人工智能
开发工具:Unix_Linux
文件大小:24KB
下载次数:5
上传日期:2008-10-05 11:19:25
上 传 者first1113_1
说明:  md5的一个校验库,可以直接作为md5来校验文件或者字符串,大家喜欢的话多支持我
(md5 checksum of a library, can be directly as the md5 to verify documents or strings, everyone likes more than to support my)

文件列表:
GLOBAL.H (811, 1993-05-13)
MAKEFILE (1667, 1994-02-11)
MD5.1 (1331, 1994-03-14)
MD5.H (1386, 1993-05-13)
MD5C.C (10756, 1993-05-13)
MD5_1.PS (9049, 1994-03-14)
MD5_1.TXT (1569, 1994-03-14)
MDDRIVER.C (5233, 1994-03-14)
RFC1321.TXT (36402, 1993-04-06)

This directory contains source code for the MD5 message-digest algorithm. MD5.tar.Z is a compressed tar file of all the other files in this directory. "md5-announcement.txt" is the announcement from RSA Data Security that MD5 is being placed in the public domain for free general use. "rfc1321.txt" is the RFC that describes in detail the MD2, MD4, and MD5 message-digest algorithms. The *.[ch] files were taken exactly from RFC 1321. I wrote a simple Makefile to build an md5 executable by default, with targets for "test" (which implements the test in Appendix A.5 in the RFC) and "clean". Running Makefile with no targets will build the "md5" binary. There is a typo in the RFC Appendix A.4 (mddriver.c). Line 20 sets MD to "MD5" by default, but the code wants MD to be set to one of "2", "4", or "5". I put a -DMD=5 in the Makefile to mask this problem so that the code itself remains unchanged from what is in RFC 1321. Ric Anderson, ric@Artisoft.COM, provided a bug fix to the timing test code that caused a divide by zero aborts on a Sun sparc station-10 running soalris 2.3. This fix to mddriver.c is the only change to the code in RFC 1321 and corrects only a problem with the timing tests. No change to the code that implements the actual checksum has been made. Ric has also provided a man page - "md5.1". A postscript version of this man page is in "md5.1.ps" and a text version in "md5.1.txt". -- Jim Ellis (jte@cert.org)

近期下载者

相关文件


收藏者