Character Scramble (TextMaskGenerator)
The Character Scramble generator replaces letters with random other letters and numbers with random other numbers. It preserves punctuation, whitespace, and mathematical symbols.
You can configure the Character Scramble generator to be self-consistent, but not consistent to another column. You cannot configure differential privacy.
There is no generator-specific configuration.
{
"presetId": "string",
"generatorId": "TextMaskGenerator",
"schema": "string",
"table": "string",
"column": "string",
"dataType": "string", //MongoDB only
"metadata": {
"isConsistent": boolean
},
"encryptionProcessor": "x-on", //To use configured Tonic data encryption
"customValueProcessor": "string" //If custom value processor applied
}
The following replacement for a Character Scramble generator has consistency disabled.
{
"name": "occupation",
"schema": "test",
"table": "users",
"links": [
{
"presetId": "TextMaskGenerator"
"generatorId": "TextMaskGenerator",
"schema": "test",
"table": "users",
"column": "group_identifier",
"metadata": {
"isConsistent": false
}
}
]
}