A naive perceptual hasher for php.