An article of manufacture comprising a machine readable memory having stored therein a plurality of processor executable control program steps for forming a compressed differentially encoded image of a version file derived from a base file, said image being defined over a set of file building operations (ADD, COPY, END), descriptors, and address pointers and utilizing the version and base files, said control program steps include:
- (a) a control program step for recursively scanning the base file using a window of m bytes length including shifting the window in the same direction k<m bytes/recursion and forming a hash function signature of the window contents for each recursion of the base file, and recording said base file signature in a buffer;
- (b) a control program step for recursively scanning the version file using a window of m bytes length including shifting the window in the same direction k<m bytes/recursion forming a hash function signature of the window contents for each recursion of the version file, and comparing each hash function signature as generated from the version file with the buffer stored signatures of the base file;
- and
- (c) a control program step upon a comparison match of signatures and verification of contents for encoding a difference file ad seriatim as an ADD command plus version file contents from the later of either the start of the version file or the last comparison match up to the point of the instant comparison match, followed by a COPY command, length of the matching contents, and pointer to the base file location of the instant matching contents, and for invoking the next recursion of steps (b) and (c) until the version file scan is exhausted.