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