MD5_zka

所属分类:系统/网络安全
开发工具:Unix_Linux
文件大小:23KB
下载次数:13
上传日期:2006-04-17 11:35:48
上 传 者zhaokang233
说明:  MD5加密算法,用标准C++完成,需要在UNIX系统上执行make来运行.可修改代码.
(MD5 encryption algorithm, using standard C completed, in UNIX systems make the implementation run. code can be amended.)

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

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)

近期下载者

相关文件


收藏者