<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>MD5 hash of a string in C</title>
		<link>http://www.allegro.cc/forums/view/586270</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Wed, 05 Jul 2006 01:25:08 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I need to get the MD5 hash of a string so I can send it to a webserver, but all the examples I find all come up with linker errors.  I&#39;m using MinGW to compile different C examples, and like I said, they don&#39;t work.  So, does anyone have any working code they&#39;d be willing to share or does anyone have any links to something that does work?</p><p>Edit:  Actually, something for SHA-1 would work too.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (John Grube)</author>
		<pubDate>Wed, 05 Jul 2006 00:58:29 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I found one on google fairly quickly. There were some compile errors, but i didnt need those functions anyway. It was for C++.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jonatan Hedborg)</author>
		<pubDate>Wed, 05 Jul 2006 01:11:44 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Maybe you can try this: <a href="http://sourceforge.net/projects/libmd5-rfc/">http://sourceforge.net/projects/libmd5-rfc/</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (dudaskank)</author>
		<pubDate>Wed, 05 Jul 2006 01:23:03 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
I found one on google fairly quickly. There were some compile errors, but i didnt need those functions anyway. It was for C++.
</p></div></div><p>
Yes, but I need one for C.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Maybe you can try this: <a href="http://sourceforge.net/projects/libmd5-rfc/">http://sourceforge.net/projects/libmd5-rfc/</a>
</p></div></div><p>
That was one of the ones I tried.  I keep getting the following errors:
</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
[Linker error] undefined reference to `WinMain@16&#39; <br />  ld returned 1 exit status <br /> C:\Documents and Settings\John\Desktop\md5-3\Makefile.win [Build Error]  [md5.exe] Error 1
</p></div></div><p>
Is there a library I need to tell the linker to use?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (John Grube)</author>
		<pubDate>Wed, 05 Jul 2006 01:23:38 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Look at the source for md5sum on linux... <a href="http://www.netlib.org/crc/md5sum.c">http://www.netlib.org/crc/md5sum.c</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (BAF)</author>
		<pubDate>Wed, 05 Jul 2006 01:25:08 +0000</pubDate>
	</item>
</rss>
