Use the scramble privacy policies to mask character and
numeric data types. The policies include the rule-based and JavaScript options.
Repeatable replacement
The repeatable replacement policy uses a repeatable method
to mask a string with characters that match each type of character
that is replaced. For example, numbers are replaced with numbers,
and lowercase letters are replaced with lowercase letters. The characters
used for masking are obtained from a specified character set. The
policy masks characters that are part of the character set only.
Repeatable replacement by regular expression
The repeatable replacement by regular expression policy
uses a repeatable method to mask a string with characters that match
each type of character that is replaced. For example, numbers are
replaced with numbers, and lowercase letters are replaced with lowercase
letters. The policy uses a regular expression to determine which characters
to mask in the string. The characters used for masking are obtained
from a specified character set. The policy masks characters that are
part of the character set only.
Replace characters The replace characters policy masks each
character in a string with a randomly generated character that matches
the type of character that is replaced. For example, numbers are replaced
with numbers, and lowercase letters are replaced with lowercase letters.
The characters used for masking are obtained from a specified character
set. The policy masks characters that are part of the character set
only.
Replace characters by regular expression The replace characters by regular
expression policy masks each character in a string with a randomly
generated character that matches the type of character that is replaced.
For example, numbers are replaced with numbers, and lowercase letters
are replaced with lowercase letters. The policy uses a regular expression
to determine which characters to mask in the string. The characters
used for masking are obtained from a specified character set. The
policy masks characters that are part of the character set only.
Scramble characters The scramble characters policy masks
a string by randomly changing the order of the characters in the string.
Scramble characters by regular expression The scramble characters by regular
expression policy masks a string by randomly changing the order of
the characters in the string. The policy uses a regular expression
to determine which characters to mask in the string.
Simple scramble characters 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.