calculated checksum for type without encoding