QuickHash Library API

MD5 API Overview

MD5 API assists you in generating MD5 message digests.

MD5 message digests can be generated in two modes: accumulative and non-accumulative.

The accumulative mode is applied when the data for which the digest is calculated (data) represents one or more continuous memory block(s) or when the data is created at runtime in many steps (for instance, when reading a file).

Non-accumulative mode can be applied when the data represents only one continuous memory block.

Note. When the data represents just one continuous memory block, both methods can be applied.

 

To generate the message digest in the accumulative mode, perform the following:

 

To generate the message digest in the non-accumulative mode, perform the following:

#include <QuickHash.h>

 

MD5 API Functions   |   Useful Links   |   HashCalc

 

Samples   MD5 message digest generation for a file

               MD5 message digest generation for a string


 

 

Send Feedback to SlavaSoft Inc. Tell a friend about QuickHash Library