Category : C Source Code
Archive   : PGP20SRC.ZIP
Filename : MDFILE.H

 
Output of file : MDFILE.H contained in archive : PGP20SRC.ZIP
/* mdfile.h - C headers for PGP MD5 Message digest routines.
PGP 1.0 used MD4, now we use MD5.
*/

#include "md5.h" /* for MD5 message digest stuff */

/* Prototypes for MD5 routines */

/* Computes and returns the message digest from file position,longcount bytes */
int MDfile0_len(MD5_CTX *mdContext, FILE *f, word32 longcount);

/* Computes the message digest for a file from current position to EOF */
int MDfile0(MD5_CTX *mdContext,FILE *inFile);

/* Computes the message digest for a specified file */
int MDfile(MD5_CTX *mdContext,char *filename);

/* Finishes the message digest, including extra material */
void MD_addbuffer (MD5_CTX *mdContext, byte *buf, int buflen, boolean finish);



  3 Responses to “Category : C Source Code
Archive   : PGP20SRC.ZIP
Filename : MDFILE.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/