1. A system, comprising: an interface configured to receive a file; a processor configured to: transform file contents using a space-filling curve, including by selecting a size for the curve based at least in part a size of the received file; down-sample the transformed file contents; and perform a hashing operation on the down-sampled result; and a memory coupled to the processor and configured to provide the processor with instructions.