Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
MD5 Package Library
Collaboration diagram for MD5 Package Library:

Functions

char * ap_md5 (apr_pool_t *a, const unsigned char *string)
 
char * ap_md5_binary (apr_pool_t *a, const unsigned char *buf, int len)
 
char * ap_md5contextTo64 (apr_pool_t *p, apr_md5_ctx_t *context)
 
char * ap_md5digest (apr_pool_t *p, apr_file_t *infile)
 

Detailed Description

Function Documentation

char* ap_md5 ( apr_pool_t a,
const unsigned char *  string 
)

Create an MD5 checksum of a given string.

Parameters
aPool to allocate out of
stringString to get the checksum of
Returns
The checksum
char* ap_md5_binary ( apr_pool_t a,
const unsigned char *  buf,
int  len 
)

Create an MD5 checksum of a string of binary data.

Parameters
aPool to allocate out of
bufBuffer to generate checksum for
lenThe length of the buffer
Returns
The checksum
char* ap_md5contextTo64 ( apr_pool_t p,
apr_md5_ctx_t context 
)

Convert an MD5 checksum into a base64 encoding.

Parameters
pThe pool to allocate out of
contextThe context to convert
Returns
The converted encoding
char* ap_md5digest ( apr_pool_t p,
apr_file_t infile 
)

Create an MD5 Digest for a given file.

Parameters
pThe pool to allocate out of
infileThe file to create the digest for