The package chunker
implements content-defined-chunking (CDC) based on a
rolling Rabin Hash. The library is part of the restic backup
program.
An introduction to Content Defined Chunking can be found in the restic blog post Foundation - Introducing Content Defined Chunking (CDC).
You can find the API documentation at https://godoc.org/github.com/restic/chunker