Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   C++ (http://www.programmingforums.org/forum15.html)
-   -   MD5 hashing... (http://www.programmingforums.org/showthread.php?t=4207)

Un4given May 31st, 2005 7:29 PM

MD5 hashing...
 
I searched for MD5 and came up with nothing, so here we go...

Okay, I'm very fluent in PHP, and I enjoy the fact that I can get an MD5 hash by simply using MD5("password") and it will spit out the MD5 hash for me, but I'm having a problem in C++ and this.
Is there a way to get an MD5 hash in C++?

Ooble May 31st, 2005 7:32 PM

There is: http://theory.lcs.mit.edu/~rivest/md5.c

Un4given May 31st, 2005 7:43 PM

Heh, I appreciate that quick response, however I dont see any documentation on it.

Now see, I'm rather new to C++ and I thought .c files were for C and .cpp files were for C++.
How would I go about using this file in Dev-C++?

uman May 31st, 2005 7:51 PM

Dev-C++ should handle .c files just fine. If not, just rename it to md5.cpp


All times are GMT -5. The time now is 12:56 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC