On Wed, 05 Oct 2005 22:34:34 GMT, Gary Townsend wrote:
Hey all i am looking to see if anyone has created a function or knows how to
create an md5sum that would match the md5sum routines found commonly in C++
and Linux.
Gary Townsend
Beware: MD5's lifetime as a useful hash is limited.
http://en.wikipedia.org/w/index.php?title=MD5
"Because MD5 makes only one pass over the data, if two prefixes with the
same hash can be constructed, a common suffix can be added to both to make
the collision more reasonable. And because the current collision-finding
techniques allow the preceding hash state to be specified arbitrarily, a
collision can be found for any desired prefix. All that is required to
generate two colliding files is a template file, with a 128-byte block of
data aligned on a 64-byte boundary, that can be changed freely by the
collision-finding algorithm."