nanog mailing list archives

Re: Had an idea - looking for a math buff to tell me if it's possible with today's technology.


From: Leo Bicknell <bicknell () ufp org>
Date: Wed, 18 May 2011 14:03:18 -0700

In a message written on Wed, May 18, 2011 at 04:33:34PM -0400, Christopher Morrow wrote:
no no no.. it's simply, since the OP posited a math solution, md5.
ship the size of file + hash, compute file on the other side. All
files can be moved anywhere regardless of the size of the file in a
single packet.


The solution is left as an exercise for the reader.

Bah, you should include the solution, it's so trivial.

Generate all possible files and then do an index lookup on the MD5.
It's a little CPU heavy, but darn simple to code.

You can even stop when you get a match, which turns out to be a HUGE
optimization. :)

-- 
       Leo Bicknell - bicknell () ufp org - CCIE 3440
        PGP keys at http://www.ufp.org/~bicknell/

Attachment: _bin
Description:


Current thread: