The first 307200 bytes (300 Kibibyte, one "chunk size") of the file are MD5-hashed (less if file is shorter).
Finally, the bitwise complement of smallhash (still zero for files up to 300 KiB) is XORed together with the file size in bytes.