<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: MySQL Password Hashing in .NET</title>
	<atom:link href="http://geeksharp.com/2009/05/15/mysql-password-hashing-in-net/feed/" rel="self" type="application/rss+xml" />
	<link>http://geeksharp.com/2009/05/15/mysql-password-hashing-in-net/</link>
	<description>techno-babble for the masses</description>
	<lastBuildDate>Tue, 20 Jul 2010 14:42:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Scott Anderson</title>
		<link>http://geeksharp.com/2009/05/15/mysql-password-hashing-in-net/comment-page-1/#comment-77</link>
		<dc:creator>Scott Anderson</dc:creator>
		<pubDate>Thu, 27 May 2010 13:01:18 +0000</pubDate>
		<guid isPermaLink="false">http://geeksharp.com/2009/05/15/mysql-password-hashing-in-net/#comment-77</guid>
		<description>Thanks for the heads up, Adam.  I guess things probably changed a little bit in 5.1.</description>
		<content:encoded><![CDATA[<p>Thanks for the heads up, Adam.  I guess things probably changed a little bit in 5.1.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Lundrigan</title>
		<link>http://geeksharp.com/2009/05/15/mysql-password-hashing-in-net/comment-page-1/#comment-76</link>
		<dc:creator>Adam Lundrigan</dc:creator>
		<pubDate>Thu, 27 May 2010 12:04:43 +0000</pubDate>
		<guid isPermaLink="false">http://geeksharp.com/2009/05/15/mysql-password-hashing-in-net/#comment-76</guid>
		<description>Excellent article.  I have used your GenerateMySQLHash function in one of my C# apps, and I noticed that it doesn&#039;t generate the correct MySQL &gt;4.1 hash.  For example, I chose a simple test password and ran it through both your function and the MySQL 5.1 command line:

Your Function: *46D8C7BAEFF461D8F821A61F07CD06FFB2D0
MySQL 5.1: *46D8C7BAEFF40601D8F821A601F07CD006FFB2D0

I found that changing b.ToString(&quot;X&quot;) to b.ToString(&quot;X2&quot;) at line 9 of your code fixed the problem.</description>
		<content:encoded><![CDATA[<p>Excellent article.  I have used your GenerateMySQLHash function in one of my C# apps, and I noticed that it doesn&#8217;t generate the correct MySQL &gt;4.1 hash.  For example, I chose a simple test password and ran it through both your function and the MySQL 5.1 command line:</p>
<p>Your Function: *46D8C7BAEFF461D8F821A61F07CD06FFB2D0<br />
MySQL 5.1: *46D8C7BAEFF40601D8F821A601F07CD006FFB2D0</p>
<p>I found that changing b.ToString(&#8220;X&#8221;) to b.ToString(&#8220;X2&#8243;) at line 9 of your code fixed the problem.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
