Compute hash automatically using readManifest

This is an alternative to #47, if you prefer this. Note that the readManifest is recursive, so it includes hashes for transitive dependencies too.