The scramble characters policy masks a string by randomly changing the order of the characters in the string.
This policy is available with the function ScrambleMask.scrambleCharacters().
ScrambleMask.scrambleCharacters(record.getItem('<arg.inputAttribute>'))
For example:
ScrambleMask.scrambleCharacters(record.getItem('/DEMO/ORDERS/ORDER_ID'))
Argument | Description |
---|---|
inputAttribute | The attribute containing the string to mask. |