Guesses the checksum kind based on the length of the hash.
a checksum
a checksum type, e.g. g_checksum_sha1