checkdigit.parityΒΆ

Parity Validation Functions.

A parity bit is added to the end of a block of binary as a form of data validation.

Functions

calculate

Adds a parity bit onto the end of a block of data.

missing

Calculates a missing digit represented by a question mark.

validate

Validates whether the check digit matches a block of data.