The algorithm literally is (copied from the readme in the python implementation) :
- md5 the chunks
- glob the md5 strings together
- convert the glob to binary
- md5 the binary of the globbed chunk md5md5s
- append "-Number_of_chunks" to the end of the md5 string of the binary