den is a difference algorithm. It works on general data, both binary and text.
den
den is heavily inspired by rsync and it's rolling hash concept.
rsync
See the documentation for details on how to use den.