Extract checksum calculation to separate modules.
Extract checksum validation to separate modules