Feature/hash

Check hash of resources before accepting download of resource data.