Checkdigit (Algorithm frameworks)
The checkdigit framework masks values containing digits with a calculated checkdigit.
The framework is purpose built to support a number of built in instances with similar but unique compositions:
It has also been extended to support Australian TFN number masking configuration.
The Checkdigit framework contains several flexible options that may support other use cases requiring a modulus calculation and checkdigit. Further custom instances can be built using the algorithm API. The configuration options are also described in the documentation for API management.
While the framework may support other use cases, it’s primary purpose is to support masking the above build in Japanese identifier number algorithms, and the creation of Australian TFN instances.
Creating a regex decompose algorithm
Further instances of Checkdigit are created through the API.
Examples
Refer to the examples in the documentation for default instances of the framework: