Skip to content
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

Features

  • 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.
Clone this wiki locally