Replacing checksum computation with a more generic implementation