-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Mohammad Badar Hashimi edited this page Jan 13, 2020
·
1 revision
This utility library provides functions to generate Verhoeff's checksum and validate Verhoeff's checksum compliance
- generateChecksumDigit: Generates the Verhoeff checksum digit for the provided numeric string.
- validateChecksum: Validates that an entered number is Verhoeff checksum compliant. Make sure the check digit is the last one.
- stringToReversedIntArray: Converts a string to a reversed integer array.
- reverse: Reverses an int array.