Replace characters between two positions
Option | Description |
---|---|
Method | The Randomly method
randomly selects a character. As a result, two identical input values can be
masked with different output values. When the same value appears twice in the input data, the Consistently method ensures that the function outputs the same masked value in the same Job execution. This function can encrypt the output masked values in the same format as the input values, using Format-Preserving Encryption (FPE) methods:
The FPE methods are bijective methods, except when using tweaks. The FF1 with AES and FF1 with SHA-2 methods require a password to generate encrypted and repeatable masked values. Those FPE methods do not use a seed. You can specify this password in the Password or 256-bit key for FF1 methods field, from the Advanced Settings of the component. |
Extra parameter | This function requires two extra parameters. The extra parameters must be numbers, which are the start and the end values of the interval. You can enter a third extra parameter, which is the replacement character. |
The following table shows examples of masked values depending on the input value, the method, and the extra parameter.
Input value | Method | Extra parameter | Example of a masked value | Details |
---|---|---|---|---|
Jack | Randomly | "1,3,p" | pppk | The first three characters are masked with the defined character. |
S1000D | Randomly | "2,4" | S0640D | The replacement character is not defined. The second, third, and fourth characters are masked with random characters. |