Skip to content

dlpx-core:CM Numeric

Based on Extensible Algorithm Framework

The CM Numeric algorithm is an algorithm based on logic in the Character Mapping Algorithm Framework.


CM Numeric algorithm should only be used for numeric data types.

The framework this algorithm is based on is not configurable and cannot be reused to create additional instances.

This algorithm masks all ASCII digit without the possibility of the first digit masking to "0". Leading and trailing zeros are preserved. The value "0" always masks to "0". Unlike the "CM digits" instance, the number of significant digits is always preserved for all numeric inputs.

Refer to the framework description for details of how masking is performed.

At least one character in the input must be masked, or Non-Conformant data handling will be triggered.


The character mapping algorithm can be used for tokenization and reidentification jobs.

For example:

  • "6379315274824970" → "5210366768740261"
  • "99" → "75"
  • "000051.1230" → "000072.9040"
  • "ABCxyz123" → "ABCxyz391"
  • "0" → "0"


This algorithm may generate non-conformant data events.