<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Are Hash Codes Unique?</title><link>http://blogs.msdn.com/tomarcher/archive/2006/05/10/are-hash-codes-unique.aspx</link><description>While you will hear people state that hash codes generate a unique value for a given input, the fact is that, while difficult to accomplish, it is technically feasible to find two different data inputs that hash to the same value. However, the true determining</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Are Hash Codes Unique?</title><link>http://blogs.msdn.com/tomarcher/archive/2006/05/10/are-hash-codes-unique.aspx#594308</link><pubDate>Wed, 10 May 2006 10:18:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:594308</guid><dc:creator>Tarang Waghela</dc:creator><description>Interesting article and a nice read&lt;br&gt;&lt;br&gt;Cheers&lt;br&gt;&lt;br&gt;&lt;br&gt;</description></item><item><title>re: Are Hash Codes Unique?</title><link>http://blogs.msdn.com/tomarcher/archive/2006/05/10/are-hash-codes-unique.aspx#594431</link><pubDate>Wed, 10 May 2006 13:06:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:594431</guid><dc:creator>Paul Watson</dc:creator><description>Interesting article, thanks Tom.</description></item><item><title>re: Are Hash Codes Unique?</title><link>http://blogs.msdn.com/tomarcher/archive/2006/05/10/are-hash-codes-unique.aspx#594510</link><pubDate>Wed, 10 May 2006 16:26:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:594510</guid><dc:creator>Bryan St. Amour</dc:creator><description>I wonder why then, why many popular sites require a fixed password length instead of allowing a user to create a password of any length they want. It seems that it would be safer to remove the length rule as this way someone who is trying to brute force their way in will have a tougher time than if he knew that the password was always 6-10 characters long.</description></item><item><title>re: Are Hash Codes Unique?</title><link>http://blogs.msdn.com/tomarcher/archive/2006/05/10/are-hash-codes-unique.aspx#594533</link><pubDate>Wed, 10 May 2006 16:52:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:594533</guid><dc:creator>Austin Lamb</dc:creator><description>A minor correction - SHA-256 is not a 256-byte hash, but rather a 256-bit hash (32 bytes).</description></item><item><title>re: Are Hash Codes Unique?</title><link>http://blogs.msdn.com/tomarcher/archive/2006/05/10/are-hash-codes-unique.aspx#594599</link><pubDate>Wed, 10 May 2006 18:22:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:594599</guid><dc:creator>tomarcher</dc:creator><description>Paul: Thanks! I'm flattered that you read my stuff :) I'm hoping now that I'm a little more situated here at Microsoft that I can begin blogging much more.</description></item><item><title>re: Are Hash Codes Unique?</title><link>http://blogs.msdn.com/tomarcher/archive/2006/05/10/are-hash-codes-unique.aspx#594600</link><pubDate>Wed, 10 May 2006 18:23:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:594600</guid><dc:creator>tomarcher</dc:creator><description>Austin: DOH! Thanks for the catch!</description></item><item><title>re: Are Hash Codes Unique?</title><link>http://blogs.msdn.com/tomarcher/archive/2006/05/10/are-hash-codes-unique.aspx#594604</link><pubDate>Wed, 10 May 2006 18:27:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:594604</guid><dc:creator>tomarcher</dc:creator><description>Bryan: I'm in total agreement with you. On a related topic, TechNet has a great article on &amp;quot;security myths&amp;quot; and one thing they bring up is that the better way to protect yourself is NOT with &amp;quot;strong&amp;quot; passwords, but with *long* passwords.&lt;br&gt;&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://www.microsoft.com/technet/technetmag/issues/2006/05/SecurityMyths/default.aspx"&gt;http://www.microsoft.com/technet/technetmag/issues/2006/05/SecurityMyths/default.aspx&lt;/a&gt;&lt;br&gt;</description></item><item><title>re: Are Hash Codes Unique?</title><link>http://blogs.msdn.com/tomarcher/archive/2006/05/10/are-hash-codes-unique.aspx#594747</link><pubDate>Wed, 10 May 2006 21:17:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:594747</guid><dc:creator>Bryan St. Amour</dc:creator><description>Wow, that was a really good read. Thanks for the link, Tom</description></item><item><title>re: Are Hash Codes Unique?</title><link>http://blogs.msdn.com/tomarcher/archive/2006/05/10/are-hash-codes-unique.aspx#597443</link><pubDate>Sun, 14 May 2006 18:31:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:597443</guid><dc:creator>farshad</dc:creator><description>hi &amp;nbsp;i downlaoded &amp;nbsp;a version of vista &amp;nbsp;(vista beta 1) but when I want to install it . i'd have an error &amp;nbsp;written in this kind &amp;nbsp;&lt;br&gt;&lt;br&gt;the windows can't get the information of your disks &lt;br&gt; &lt;br&gt;also i should mentione that i have &amp;nbsp;sata2 hard &lt;br&gt;&lt;br&gt;what's wrong with my system ?</description></item><item><title>re: Are Hash Codes Unique?</title><link>http://blogs.msdn.com/tomarcher/archive/2006/05/10/are-hash-codes-unique.aspx#598255</link><pubDate>Mon, 15 May 2006 22:35:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:598255</guid><dc:creator>Albert Pascual</dc:creator><description>Always love reading your blog!</description></item><item><title>re: Are Hash Codes Unique?</title><link>http://blogs.msdn.com/tomarcher/archive/2006/05/10/are-hash-codes-unique.aspx#601001</link><pubDate>Thu, 18 May 2006 17:30:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:601001</guid><dc:creator>Dan</dc:creator><description>Good reading Tom!. &amp;nbsp;Security starts with the developer. &amp;nbsp;It's been years since I did serious crypto work and I had actually forgotten about using salt values in stored password (though thanks to micrsoft I had been hashing them for many years). &amp;nbsp;Great work!</description></item><item><title>re: Are Hash Codes Unique?</title><link>http://blogs.msdn.com/tomarcher/archive/2006/05/10/are-hash-codes-unique.aspx#602596</link><pubDate>Sat, 20 May 2006 13:41:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:602596</guid><dc:creator>Swapnil Kocheta</dc:creator><description>Wow&lt;br&gt;Geek Stuffs&lt;br&gt;Quite amazing to read from the employee of ur dream company&lt;br&gt;nice work Tom</description></item><item><title>Great Article On Hashcode Uniqueness from Tom Archer</title><link>http://blogs.msdn.com/tomarcher/archive/2006/05/10/are-hash-codes-unique.aspx#602674</link><pubDate>Sat, 20 May 2006 16:41:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:602674</guid><dc:creator>TheWebFarm Blogs</dc:creator><description /></item><item><title>re: Are Hash Codes Unique?</title><link>http://blogs.msdn.com/tomarcher/archive/2006/05/10/are-hash-codes-unique.aspx#604426</link><pubDate>Tue, 23 May 2006 08:17:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:604426</guid><dc:creator>Divya</dc:creator><description>Tom, Great piece of information.&lt;br&gt;Couldnt find it anywhere on the net so clear.&lt;br&gt;</description></item><item><title>re: Are Hash Codes Unique?</title><link>http://blogs.msdn.com/tomarcher/archive/2006/05/10/are-hash-codes-unique.aspx#605577</link><pubDate>Wed, 24 May 2006 06:52:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:605577</guid><dc:creator>GothicChessDotCom</dc:creator><description>In the chess world, positions being searched are hashed as a chess program &amp;quot;thinks.&amp;quot; If a position that has already been evaluated arises again, via a different move order for example, a program need only access its hash table (in RAM) to extract the score for that position, saving the redundant and time consuming call to the evaluation function.&lt;br&gt;&lt;br&gt;Even in the 32-bit world, a hashed chess position (32 bits) and a hash key (another 32 bits) will be able to avoid &amp;quot;hash collisions&amp;quot; (a different chess position generating the same hash information) almost forever, or 1 time in 2 to the 64th trials. Even with programs searching 10 million positions per second, you would be able to &amp;quot;survive&amp;quot; without a hash collision for:&lt;br&gt;&lt;br&gt;18,446,744,073,709,551,616 &amp;#247; 10,000,000 &amp;#247; 86,4000 &amp;#247; 365 = over 5800 years, on average.&lt;br&gt;&lt;br&gt;But, in a computer vs. computer chess tournament in 2005, one program did make a catastrophic blunder, and, as it turned out, this was a result of a hash collision that had 64-bits worth of safety.&lt;br&gt;&lt;br&gt;This goes to show one of the consequences of Quantum Mechanics: If you wait long enough, anything that can happen, will happen.&lt;br&gt;&lt;br&gt;</description></item><item><title>re: Are Hash Codes Unique?</title><link>http://blogs.msdn.com/tomarcher/archive/2006/05/10/are-hash-codes-unique.aspx#605836</link><pubDate>Wed, 24 May 2006 14:29:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:605836</guid><dc:creator>Nathan</dc:creator><description>Unfortunately, with the easy of use and scalability of free databases, there are more than one site that actually have several computers churning non-stop generating and inserting MD5 hashes so you can just type in an MD5 hash and it spits out the values if it has been generated. MD5 hashes of 9 out of 10 of my past passwords came up when I entered them... It makes using salted hashes all the more important.</description></item><item><title>re: Are Hash Codes Unique?</title><link>http://blogs.msdn.com/tomarcher/archive/2006/05/10/are-hash-codes-unique.aspx#608531</link><pubDate>Sat, 27 May 2006 05:11:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:608531</guid><dc:creator>kbrowder</dc:creator><description>Great article, good summary of basic hash security. &amp;nbsp;Salting was particularly interesting, many refrences forget about it. &amp;nbsp;At one point I read an article about using the hash of the passphrase (usually with a very fast and small hashing algorithm) as the Salt and then hashing the end resault (with a better hashing algorithm). &amp;nbsp;The author hypothesized this process would make it less feasible to brute force using the hash expecially since the algorithm can be called on the hash itself. &amp;nbsp;I'm not sure about the validity of the mathmatics behind this technique but it sounded interesting, whish I had the link. &amp;nbsp;The final product would look something like this:&lt;br&gt;&lt;br&gt;result = hash(&lt;br&gt;&amp;quot;PASSWORD&amp;quot;+&lt;br&gt;hash(&amp;quot;PASSWORD&amp;quot;)+&lt;br&gt;hash(&amp;quot;PASSWORD&amp;quot;+hash(&amp;quot;PASSWORD&amp;quot;))+ &amp;nbsp;hash(&amp;quot;PASSWORD&amp;quot;+hash(&amp;quot;PASSWORD&amp;quot;)+hash(&amp;quot;PASSWORD&amp;quot;+hash(&amp;quot;PASSWORD&amp;quot;)))+&lt;br&gt;...);&lt;br&gt;&lt;br&gt;basically there would be many salts that are all dependent on each other, assuming the algorithm is safe it seems like it would be more secure since to the attacker the salt bits would be semingly random. &amp;nbsp;Interesting stuff.</description></item><item><title>re: Are Hash Codes Unique?</title><link>http://blogs.msdn.com/tomarcher/archive/2006/05/10/are-hash-codes-unique.aspx#633174</link><pubDate>Fri, 16 Jun 2006 01:59:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:633174</guid><dc:creator>whattheheck</dc:creator><description>&amp;gt; TechNet has a great article on &amp;quot;security myths&amp;quot;&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://www.microsoft.com/technet/technetmag/issues/2006/05/SecurityMyths/default.aspx"&gt;http://www.microsoft.com/technet/technetmag/issues/2006/05/SecurityMyths/default.aspx&lt;/a&gt; &lt;br&gt;&lt;br&gt;Good article, but they blew it by not recognizing that forced timed password changes weaken security.&lt;br&gt;&lt;br&gt;After arguing that the policy of the forced password changes could be set to every 1,900,000,000,000 years without risking security, then they set it to 90 days.&lt;br&gt;&lt;br&gt;Why? Clearly, the author just really likes annoying users, since he readily admits this serves no useful purpose. &amp;nbsp;That MUCH longer periods (much more than a lifetime) would still be secure.&lt;br&gt;&lt;br&gt;Forcing users to pick new password every 90 days likely results in increasingly weaker (including shorter) passwords each time.&lt;br&gt;</description></item><item><title>re: Are Hash Codes Unique?</title><link>http://blogs.msdn.com/tomarcher/archive/2006/05/10/are-hash-codes-unique.aspx#638773</link><pubDate>Tue, 20 Jun 2006 10:44:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:638773</guid><dc:creator>rape stories</dc:creator><description>Your article is prety nice. It's a pity that i didn't see it more later.</description></item><item><title>re: Are Hash Codes Unique?</title><link>http://blogs.msdn.com/tomarcher/archive/2006/05/10/are-hash-codes-unique.aspx#639655</link><pubDate>Tue, 20 Jun 2006 18:20:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:639655</guid><dc:creator>Jeremy Madea</dc:creator><description>Another minor correction... you wrote: &amp;quot;the MD5 hash function always generates hash codes that are 32 bytes in length, the SHA1 hash function generates 20-byte hash codes&amp;quot;.&lt;br&gt;&lt;br&gt;Actually, MD5 results in a 16 byte (128 bit) hash code. The confusion probably came about because &amp;nbsp;that works out to 32 characters when represented in hexadecimal. &lt;br&gt;&lt;br&gt;SHA1 is indeed 20 bytes, or 160 bits, or 40 chars in hex.&lt;br&gt;&lt;br&gt; &lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</description></item><item><title>re: Are Hash Codes Unique?</title><link>http://blogs.msdn.com/tomarcher/archive/2006/05/10/are-hash-codes-unique.aspx#641313</link><pubDate>Wed, 21 Jun 2006 13:39:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:641313</guid><dc:creator>Bryan</dc:creator><description>re kbrowder's comments -&lt;br&gt;Pulling the user passphrase into the hash causes problems win the passphrase is changed or missing, but is otherwise a good step. The second algorithm is no more secure than the original since each additional password hash is determined. &amp;nbsp;Coding that assumes that someone does not know the algorithm almost always fails.&lt;br&gt; &lt;br&gt;&lt;br&gt;</description></item><item><title>re: Are Hash Codes Unique?</title><link>http://blogs.msdn.com/tomarcher/archive/2006/05/10/are-hash-codes-unique.aspx#664064</link><pubDate>Thu, 13 Jul 2006 07:26:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:664064</guid><dc:creator>Mian Kamran Yousaf</dc:creator><description>Interesting and useful</description></item><item><title>re: Are Hash Codes Unique?</title><link>http://blogs.msdn.com/tomarcher/archive/2006/05/10/are-hash-codes-unique.aspx#672598</link><pubDate>Thu, 20 Jul 2006 14:59:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:672598</guid><dc:creator>Sudheendra Nadager</dc:creator><description>Tom, Great piece of information.....</description></item><item><title>www.Ipfreaks.com - Get amazing Dreamscene videos    &amp;raquo; Are Hash Codes Unique?</title><link>http://blogs.msdn.com/tomarcher/archive/2006/05/10/are-hash-codes-unique.aspx#1647574</link><pubDate>Sun, 11 Feb 2007 05:03:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1647574</guid><dc:creator>www.Ipfreaks.com - Get amazing Dreamscene videos    » Are Hash Codes Unique?</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://ipfreaks.com/dreamscene/?p=43"&gt;http://ipfreaks.com/dreamscene/?p=43&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>