Add a checksum to a disk image using Disk Utility on Mac
A checksum is a calculation of all the data on a disk or disk image. You can use checksums to make sure that a disk image, CD, or DVD was copied correctly.
In the Disk Utility app on your Mac, choose Images > Add Checksum, then select the disk image to add the checksum to.
Click Checksum, then click Done.