SIN (SINGenerator)
The SIN generator generates a new valid Canadian Social Insurance Number that preserves the formatting of the original value.
The SIN generator does not support linking. It can be self-consistent, but not consistent with another column. You cannot configure differential privacy.
There is no generator-specific configuration.
{
"presetId": "string",
"generatorId": "SinGenerator",
"schema": "string",
"table": "string",
"column": "string",
"metadata": {
"isConsistent": boolean
},
"encryptionProcessor": "x-on", //To use configured Tonic data encryption
"customValueProcessor": "string" //If custom value processor applied
}
In the following example replacement for the SIN generator, consistency is disabled.
{
"name": "id_number",
"schema": "public",
"table": "users",
"links": [
{
"presetId": "SinGenerator",
"generatorId": "SinGenerator",
"schema": "public",
"table": "users",
"column": "id_number",
"metadata": {
"isConsistent": false
}
}
]
}
Last modified 1mo ago