A check digit is the simplest form of a checksum. It is used to detect input errors and to check the integrity of data.
The check digit is calculated from the other characters according to a specific calculation rule.
Errors in the input can be detected by calculating and comparing the check digit.