checkdigit.verhoeffΒΆ

The first check digit algorithm to detect all transposition and single digit errors.

Developed by Jacobus Verhoeff and published in 1969. This particular implementation uses a table-based algorithm.

Functions

calculate

Calculates a Verhoeff check digit.

missing

Calculates a missing digit in a Verhoeff code.

validate

Validates a Verhoeff check digit.