checkdigit.crcΒΆ
Cyclic Redundancy Check.
A block of binary as a form of data validation is appended to a bitstring. This can be easily checked even by very simple circuitry, and can also be used to correct some errors.
WARNING: THIS IS NOT A FAST IMPLEMENTATION OF CRC.
If you want a fast implementation look elsewhere.
Functions
Adds a parity part onto the end of a block of data. |
|
Calculates missing digits represented by a question mark. |
|
Validates whether the check digit matches a block of data. |