Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

md5.h File Reference

MD5 hash function. More...

#include "beecrypt.h"

Go to the source code of this file.

Data Structures

struct  md5Param
 Holds all the parameters necessary for the MD5 algorithm. More...


Functions

void md5Process (md5Param *mp)
int md5Reset (md5Param *mp)
 This function resets the parameter block so that it's ready for a new hash.

int md5Update (md5Param *mp, const byte *data, size_t size)
 This function should be used to pass successive blocks of data to be hashed.

int md5Digest (md5Param *mp, byte *digest)
 This function finishes the current hash computation and copies the digest value into digest.


Variables

const hashFunction md5


Detailed Description

MD5 hash function.

Author:
Bob Deblier <bob.deblier@pandora.be>

Definition in file md5.h.


Function Documentation

int md5Digest md5Param mp,
byte digest
 

This function finishes the current hash computation and copies the digest value into digest.

Parameters:
mp The hash function's parameter block.
digest The place to store the 16-byte digest.
Return values:
0 on success.

void md5Process md5Param mp  ) 
 

int md5Reset md5Param mp  ) 
 

This function resets the parameter block so that it's ready for a new hash.

Parameters:
mp The hash function's parameter block.
Return values:
0 on success.

int md5Update md5Param mp,
const byte data,
size_t  size
 

This function should be used to pass successive blocks of data to be hashed.

Parameters:
mp The hash function's parameter block.
data 
size 
Return values:
0 on success.


Variable Documentation

const hashFunction md5
 

Definition at line 67 of file md5.h.


Generated on Wed Mar 24 13:56:53 2004 for BeeCrypt by doxygen 1.3.6