The simple scramble characters policy masks a string by randomly swapping the characters in the string among themselves. The policy masks a string in a repeatable manner.
This policy is available with the function ScrambleMask.simpleScramble().
ScrambleMask.simpleScramble(record.getItem('<arg.inputAttribute>'))
For example:
ScrambleMask.simpleScramble(record.getItem('/DEMO/ORDERS/ORDER_ID'))
Argument | Description |
---|---|
inputAttribute | The attribute containing the string to mask. |