Re-introduce legacy MD5 checksum verification based on checksum length