Unix
Mac OS X
Windows
Options
Unix
Windows

# Module md5 Methods

## AcquireMD5Info

AcquireMD5Info() allocate the MD5Info structure.

The format of the AcquireMD5Info method is:

      MD5Info *AcquireMD5Info(void)

## DestroyMD5Info

DestroyMD5Info() zeros memory associated with the MD5Info structure.

The format of the DestroyMD5Info method is:

      MD5Info *DestroyMD5Info(MD5Info *md5_info)

A description of each parameter follows:

##### md5_info

The cipher md5_info.

## FinalizeMD5

FinalizeMD5() finalizes the MD5 message digest computation.

The format of the FinalizeMD5 method is:

      void FinalizeMD5(MD5Info *md5_info)

A description of each parameter follows:

##### md5_info

The address of a structure of type MD5Info.

## GetMD5Blocksize

GetMD5Blocksize() returns the MD5 blocksize.

The format of the GetMD5Blocksize method is:

      unsigned int *GetMD5Blocksize(const MD5Info *md5_info)

A description of each parameter follows:

##### md5_info

The md5 info.

## GetMD5Digest

GetMD5Digest() returns the MD5 digest.

The format of the GetMD5Digest method is:

      const StringInfo *GetMD5Digest(const MD5Info *md5_info)

A description of each parameter follows:

##### md5_info

The md5 info.

## GetMD5Digestsize

GetMD5Digestsize() returns the MD5 digest size.

The format of the GetMD5Digestsize method is:

      unsigned int *GetMD5Digestsize(const MD5Info *md5_info)

A description of each parameter follows:

##### md5_info

The md5 info.

## IntializeMD5

IntializeMD5() intializes the MD5 digest.

The format of the InitializeMD5 method is:

      void InitializeMD5(md5_info)

A description of each parameter follows:

##### md5_info

The address of a structure of type MD5Info.

## TransformMD5

TransformMD5() transforms the MD5 message digest.

The format of the TransformMD5 method is:

      TransformMD5(MD5Info *md5_info)

A description of each parameter follows:

##### md5_info

The address of a structure of type MD5Info.

## UpdateMD5

UpdateMD5() updates the MD5 message digest

The format of the UpdateMD5 method is:

      UpdateMD5(MD5Info *md5_info,const unsigned char *message)

A description of each parameter follows:

##### md5_info

The address of a structure of type MD5Info.

Discourse Server