1 Librsync is a library for calculating and applying network deltas,
2 with an interface designed to ease integration into diverse network
3 applications. Librsync encapsulates the core algorithms of the rsync
4 protocol, which help with efficient calculation of the differences
5 between two files. The rsync algorithm is different from most
6 differencing algorithms because it does not require the presence of
7 the two files to calculate the delta. Instead, it requires a set of
8 checksums of each block of one file, which together form a signature
9 for that file. Blocks at any point in the other file which have the
10 same checksum are likely to be identical, and whatever remains is the