Main Page | Data Structures | File List | Data Fields | Globals

md5.h File Reference

Compute md5 sums. More...

#include <sys/types.h>

Go to the source code of this file.

Data Structures

struct  MD5Context

Defines

#define MD5_HASHBYTES   16

Typedefs

typedef MD5Context MD5_CTX

Functions

char * lutil_md5_file (const char *filename, char *buf)
 Compute an md5sum of the given file.

char * lutil_md5_data (const unsigned char *data, unsigned int len, char *buf)
 Compute an md5sum of the given data.


Detailed Description

Compute md5 sums.

Compute the md5 sums of files or data, based off code from libmd

Definition in file md5.h.


Define Documentation

#define MD5_HASHBYTES   16
 

Definition at line 63 of file md5.h.

Referenced by MD5End().


Typedef Documentation

typedef struct MD5Context MD5_CTX
 


Function Documentation

char* lutil_md5_data const unsigned char *  data,
unsigned int  len,
char *  buf
 

Compute an md5sum of the given data.

Definition at line 116 of file md5.c.

References MD5End(), MD5Init(), and MD5Update().

char* lutil_md5_file const char *  filename,
char *  buf
 

Compute an md5sum of the given file.

Definition at line 96 of file md5.c.

References MD5End(), MD5Init(), and MD5Update().

Referenced by luau_net_downloadUpdate().


Generated on Mon Apr 12 22:17:11 2004 for luau by doxygen 1.3.2