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?
md5 function
Re:md5 function
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.
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.
Re:md5 function
The RFC (1321) for the MD5 algorithm has an example implementation in C.
http://www.faqs.org/rfcs/rfc1321.html
http://www.faqs.org/rfcs/rfc1321.html