Checksum a file

Get its MD5, SHA-1 and SHA-256, and compare them with the one you were given.