Click here to Skip to main content
Click here to Skip to main content

Use Windows Crypto API to calculate a MD5 string.

, 29 Aug 2002
Rate this:
Please Sign up or sign in to vote.
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

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Victor M. Valenzuela
Web Developer
Spain Spain
Now, I works for Aurigae S.A a spanish services enterprise, specialized on information technologies for critical mission applications, mainly in the areas of payment system management, stock trading and telecommunications.

Comments and Discussions

 
GeneralThanks PinmemberAsaf G6-May-08 1:05 
QuestionHow to decrypt data? Pinmemberivax4-Oct-05 1:49 
AnswerRe: How to decrypt data? PinmemberJohn A. Johnson26-Oct-05 1:06 
GeneralA better solution : here is the code PinmemberElmue22-Apr-04 11:43 
GeneralRe: A better solution : here is the code PinmemberHughJampton25-Apr-05 7:11 
GeneralRe: A better solution : here is the code PinsussAnonymous25-Apr-05 13:32 
GeneralRe: A better solution : here is the code PinmemberHughJampton25-Apr-05 16:00 
GeneralExcellent code - one simple modification PinmemberDouglas R. Keesler5-Jun-05 16:41 
GeneralRe: A better solution : here is the code Pinmemberpscholl6-Jun-08 7:01 
GeneralRe: A better solution : here is the code PinmemberElmue6-Jun-08 15:40 
GeneralProblem with this constructor. PinmemberMr.Prakash20-Jan-04 17:28 
GeneralCompile Error ! Pinmemberfreedem2-Dec-03 16:00 
GeneralRe: Compile Error ! PinmemberVictor M. Valenzuela2-Dec-03 22:28 
GeneralRe: Compile Error ! PinmemberMihai Moga29-Mar-06 21:44 
GeneralRe: Compile Error ! Pinmemberbahram_cho6-Apr-07 21:42 
Generalcompilation Errors Pinmemberrohitgad24-Sep-03 8:40 
GeneralRe: compilation Errors PinmemberVinayak16-Jun-04 10:54 
GeneralRe: compilation Errors PinmemberScott B.21-Mar-06 19:59 
GeneralDifferent Output PinmemberAtif Goheer5-Aug-03 17:42 
GeneralRe: Different Output Pinmemberqihongbo28-Sep-03 23:04 
GeneralThanks PinmemberPaul Hooper25-Apr-03 15:40 
GeneralCrypto.h PinsussAnonymous4-Nov-02 4:15 
GeneralRe: Crypto.h PinmemberStefan-Mihai MOGA27-Jun-05 1:49 
GeneralNeeds improvements PinmemberVagif Abilov30-Aug-02 3:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.1411023.1 | Last Updated 30 Aug 2002
Article Copyright 2002 by Victor M. Valenzuela
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid