HMAC-MD5 algorithm

Posted on 2003-11-25
Last Modified: 2012-06-21
Can anyone give a working HMAC-MD5 algorithm implementation code, or tell me were I can find it?
Question by:dannyguindi
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2

Expert Comment

ID: 9822643
checkout MD5 checksum 1.04 at

hope it helps
LVL 14

Accepted Solution

Tommy Braas earned 100 total points
ID: 9823056
Please find the standards documents here:




The first link is probably your best bet.

The GNU Crypto project has code for a bunch of different algorithms. Find more information here:

Good luck!

Author Comment

ID: 9824998

the reason I ask for a working algorithm is because I have seen this RFC you sent me, but I don't know how to put it together.  I copied the source from the RFC, but I can't make it compile.  What I'm looking for is a working 'compilable' version of HMCA-MD5... if you can help me put it together, it would be very helpful

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 14

Expert Comment

by:Tommy Braas
ID: 9826334
Do you need the code in Java or in another language?
LVL 14

Expert Comment

by:Tommy Braas
ID: 9826348
Strike that question (had a late night...)

If you're comfortable reading Java, the code that you can download from GNU would be right up your alley. The GNU libraries mentioned above are written in Java, and should be easy to translate into C++.

Author Comment

ID: 9858560
Thanks orangehead! The crypto version worked just fine...
LVL 14

Expert Comment

by:Tommy Braas
ID: 9864009
My pleasure!


Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question