Check a file's checksum

Get the MD5, SHA-1, SHA-256 and SHA-512 of any file, and check it against the one you were given.