Ensure consistent memory layout for checksums.
Merge pull request #731 from rhattersley/normalise_checksum_data

Ensure consistent memory layout for checksums.