Instead of us sending files through the internet, we should simply send mathematical formulas and the answers. Sure, compression does this, but I’ve come up with a better idea.
- MD5Sum the file
- SHA2 the file
- Send the MD5, SHA2 and the file size to the other computer
- Compute the answer
The implementation is left as an exercise for the reader