I tested a MD5 algorithm. I used it make a check summary for a about 400mb file. Oh! So, slowly! The way to make a check summary for a file before sending and after receiving is a blind lane.
I have to redesign a protocol for transporting a file. The protocol must support to check summary for a file, and continue transporting from a broken point.
I don't know wether my boss accept it.