TECHNOLOGY MONITOR

Making a hash of it


Posted: Monday, Dec 24, 2007 at 0000 hrs IST
Updated: Monday, Dec 24, 2007 at 0158 hrs IST


Font Size

Print

Feedback

Email

Discuss

: Would you like to know who is going to win the American presidential election next year? If so, go to www.win.tue.nl/hashclash/Nostradamus. Well, not quite. The site will not actually give you the answer (for fear of turning it into a non-self-fulfilling prophecy, so its builders claim), but it does offer proof that the winner is already known. That is because those builders, led by Benne de Weger of the Technical University in Eindhoven, in the Netherlands, have posted a hash of the document containing the winner’s name.

A hash, for the uninitiated, is a way of compressing a computer file into a small identifier that, although not unique, may represent that file in useful ways. A simple way to hash the words The Economist would be to change their letters into numbers (1 for a, 2 for b and so on). This done, neighbouring pairs of numbers could be added up, and then pairs of the results added repeatedly until only three, say, are left.

A hash of Wired made the same way would have only one chance in 1,000 of being the same as The Economist’s because there are 1,000 different combinations of three digits. Nor would it be easy to work out any other combination of letters that would match The Economist’s hash.

Thus when in November 2008, Dr de Weger posts the document containing the name of the winner of the presidential election, and that document’s hash (calculated by a recipe called MD5) matches the one previously published on the site, you may be forgiven for thinking that he did in fact made a correct prediction.

Of course, it is all an illusion. He would certainly not have time, once the result is known, to construct a document containing the name of the winner in such a way that its hash would come out just right. That would be what cryptographers call a ‘pre-image attack’, and no way of mounting such an attack is known.

Instead, Dr de Weger’s group has concentrated its efforts on the other property of hashes: that it is hard to find two documents that have the same hash. Hard, but as it turns out, not impossible. Constructing two such co-incidental documents is known as a ‘collision attack’. And it is this trick that the researchers have pulled off. Indeed, they have created not merely two, but 12 documents that have the same...

More from Selections From The Economist

Single Page Format 1 - 2 - 3 - Next
Discuss this story on expressindia forums

Post Comments

Comments: (Limit 3,000 characters)
Name
Message
Email ID
Subject
TERMS OF USE:
The views, opinions and comments posted are your, and are not endorsed by this website. You shall be solely responsible for the comment posted here. The website reserves the right to delete, reject, or otherwise remove any views, opinions and comments posted or part thereof. You shall ensure that the comment is not inflammatory, abusive, derogatory, defamatory &/or obscene, or contain pornographic matter and/or does not constitute hate mail, or violate privacy of any person (s) or breach confidentiality or otherwise is illegal, immoral or contrary to public policy. Nor should it contain anything infringing copyright &/or intellectual property rights of any person(s).
I agree to the terms of use.

Comments
Flowers & Cakes DeliveryExpress Classifieds
Post and view free classifieds ad
Express Astrology
Know what's in the stars for you