Bug 561086: [Resources] add method to calculate a hash over a file added getChecksum() Change-Id: Ic360708f687427394de6c62cbd59e5190406f58f