954,168 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Md5 Question

A friend of mine an i were wondering the following

If there is really a one in 20 million chance of and two files having the same MD5 hash

in theory, would it not be possible to recreate a file from the MD5 hash itself?

I understand the time involved in doing this through the "rainbow tables" method, not to mention the processing power.

but with new processors coming out with 8 cores or so....

you see where this is going...

Merlin33069
Junior Poster
126 posts since May 2008
Reputation Points: 10
Solved Threads: 5
 
in theory, would it not be possible to recreate a file from the MD5 hash itself?

No. Hashing cant do that.

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,820
Solved Threads: 600
 

ay, still would be cool :P

Merlin33069
Junior Poster
126 posts since May 2008
Reputation Points: 10
Solved Threads: 5
 

its not possible though

thats not what a hash is. A hash is a totally arbitrary thing, its meaningless without a context with which to apply it to.

if we are going to be really technical, an MD5Sum isnt a type of hash at all, its a checksum, but the same thinking applies

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,820
Solved Threads: 600
 

Um, yes, it is a hash. Is hash not a synonym of checksum?

thoughtcoder
Junior Poster
141 posts since Mar 2009
Reputation Points: 231
Solved Threads: 12
 

no hashes have a completely different meaning when used in the context of databases

http://en.wikipedia.org/wiki/Hash_function

The first few paragraphs of this explain it

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,820
Solved Threads: 600
 

The differences explained there are a pedantic wikipedian classification system. Hashes, checksums, and cryptographic hashes are all the same thing and are all designed for the same general purpose. The only difference between a "good hash function" and a "good checksum function" and such is that different traits are valued more intensely.

thoughtcoder
Junior Poster
141 posts since Mar 2009
Reputation Points: 231
Solved Threads: 12
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: