65.9K
CodeProject is changing. Read more.
Home

Use Windows Crypto API to calculate a MD5 string.

starIconstarIconstarIcon
emptyStarIcon
starIcon
emptyStarIcon

3.49/5 (29 votes)

Aug 30, 2002

viewsIcon

214762

downloadIcon

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
Use Windows Crypto API to calculate a MD5 string. - CodeProject