Visual Studio 6Visual C++ 7.0Windows 2000Visual C++ 6.0Windows XPMFCIntermediateDevVisual StudioWindowsC++
Use Windows Crypto API to calculate a MD5 string.






3.49/5 (29 votes)
Aug 30, 2002

214762

6015
Use Windows Crypto API to calculate a MD5 string.
Introduction
The source code demonstrates how to invoke the Windows Crypto API to calculate a MD5 string.
The MD5 Message-Digest Algorithm is described in Internet RFC 132.
The sample uses the class Cmd5Capi
, a very simple MFC class to wrap the standard win api necesary calls.
Includes required
#include <wincrypt.h> // Cryptographic API Prototypes and Definitions