md5 function

Programming, for all ages and all languages.
Post Reply
Ohboy

md5 function

Post by Ohboy »

Hello!
I want to use md5 in my program, but I don't want to code the hash function, so, anyone out there who has a md5 function? Or a library?
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Re:md5 function

Post by Candy »

Try using google before posting a question. The MD5 algorithm (and multiple implementations) are freely available. One I know of atm is in the linux kernel, in a file called md5.c. Try that.

Or try googling for C files called "md5": http://www.google.nl/search?q=filetype%3Ac+md5. It gives 5980 replies, you should be able to find one for your purposes. If you don't use C, try another extension.
durand
Member
Member
Posts: 193
Joined: Wed Dec 21, 2005 12:00 am
Location: South Africa
Contact:

Re:md5 function

Post by durand »

The RFC (1321) for the MD5 algorithm has an example implementation in C.

http://www.faqs.org/rfcs/rfc1321.html
Post Reply