A simple function for computing the hash of the contents of a set of files.