Generator reference
Here are the details for the supported generators in Tonic.
Generates a random address-like string.
You can indicate which part of an address string that the column contains. For example, the column might contain only the street address or the city, or it might contain the full address.
Consistency | Yes, can be made self-consistent or consistent with another column. |
Linking | Yes, can be linked. |
Differential privacy | Yes, if consistency is not enabled. |
Data-free | Yes, if consistency is not enabled. |
Generator ID (for the API) |
To configure the generator:
- 1.From the Link To dropdown list, select the columns to link this column to. You can link columns that use the Address generator to mask one of the following address components:
- City
- City State
- Country
- Country Code
- State
- State Abbreviation
- Zip Code
- Latitude
- Longitude
Note that when linked to another address column, a country or country code is always the United States. - 2.From the address component dropdown list, select the address component that this column contains. The available options are:
- Building Number
- Cardinal Direction (North, South, East, West)
- City
- City Prefix (Examples: North, South, East, West, Port, New)
- City Suffix (Examples: land, ville, furt, town)
- City with State (Example: Spokane, Washington)
- City with State Abbr (Example: Houston, TX)
- Country (Examples: Spain, Canada)
- Country Code (Uses the 2-character country code. Examples: ES, CA)
- County
- Direction (Examples: North, Northeast, Southwest, East)
- Full Address
- Latitude (Examples: 33.51, 41.32)
- Longitude (Examples: -84.05, -74.21)
- Ordinal Direction (Examples: Northeast, Southwest)
- Secondary Address (Examples: Apt 123, Suite 530)
- State (Examples: Alabama, Wisconsin)
- State Abbr (Examples: AL, WI)
- Street Address (Example: 123 Main Street)
- Street Name (Examples: Broad, Elm)
- Street Suffix (Examples: Way, Hill, Drive)
- US Address
- US Address with Country
- Zip Code (Example: 12345)
- 3.Toggle the Consistency setting to indicate whether to make the column consistent. By default, the consistency is disabled.
- 4.If consistency is enabled, then by default, the generator is self-consistent. To make the generator consistent with another column, from the Consistent to dropdown list, select the column. When the Address generator is consistent with itself, then the same value in the source database is always mapped to the same destination value. For example, for a column that contains a state name, Alabama is always mapped to Illinois. When the Address generator is consistent with another column, then the same value in the other column always results in the same destination value for the address column. For example, if the address column is consistent with a name column, then every instance of John Smith in the name column in the source database has the same address value in the destination database.
- 5.If Tonic data encryption is enabled, then to use it for this column, toggle Use data encryption process to the on position.
For the Address generator, Spark workspaces (Amazon EMR, Databricks, and self-managed Spark clusters) only support the following address parts:
- Building Number
- City
- Country
- Country Code
- Full Address
- Latitude
- Longitude
- State
- State Abbr
- Street Address
- Street Name
- Street Suffix
- US Address
- US Address with Country
- Zip Code
Within a table, the AI synthesizer uses the columns that are assigned the AI Synthesizer to train a model and generate the synthetic data.
It uses deep neural networks for high-fidelity data mimicking.
By default, the AI Synthesizer is not available. To enable the AI Synthesizer, in the Tonic web server container, set the environment variable
TONIC_NN_GENERATOR_ENABLED
to true
. See Setting environment variables.The algebraic generator identifies the algebraic relationship between three or more numeric values and generates new values to match. At least one of the values must be a non-integer.
This generator can be linked with other Algebraic generators.
Consistency | No, cannot be made consistent. |
Linking | Yes, can be linked. |
Differential privacy | No |
Data-free | No |
Generator ID (for the API) |
To configure the generator, from the Link To dropdown list, select the columns to link this column to. You can select other columns that are assigned the Algebraic generator.
You must select at least three columns.
The column values must be numeric. At least one of the columns must contain a value other than an integer.
If Tonic data encryption is enabled, then to use it for this column, toggle Use data encryption process to the on position.
Generates unique alphanumeric strings of the same length as the input. For example, for the origin value
ABC123
, the output value is a six-character alphanumeric string such as D24N05
.Consistency | Yes, can be made self-consistent. |
Linking | No, cannot be linked. |
Differential privacy | No |
Data-free | No |
Generator ID (for the API) |
To configure the generator, toggle the Consistency setting to indicate whether to make the generator self-consistent.
By default, the generator is not consistent.
If Tonic data encryption is enabled, then to use it for this column, toggle Use data encryption process to the on position.
This generator replaces letters with random other letters, and numbers with random other numbers. Punctuation and whitespace are preserved.
For example, for the following array value:
["ABC.123", 3, "last week"]
The output might be something like:
["KFR.860", 7, "sdrw mwoc"]
This generator securely masks letters and numbers. There is no way to recover the original data.
Consistency | Yes, can be made self-consistent. |
Linking | No, cannot be linked. |
Differential privacy | No |
Data-free | No |
Generator ID (for the API) |
To configure the generator, toggle the Consistency setting to indicate whether to make the generator self-consistent.
By default, the generator is not consistent.
If Tonic data encryption is enabled, then to use it for this column, toggle Use data encryption process to the on position.
Runs a selected generator on values that match a user-specified JSONPath.
Consistency | Determined by the specified sub-generators. |
Linking | Determined by the specified sub-generators. |
Differential privacy | Determined by the specified sub-generators. |
Data-free | Determined by the specified sub-generators. |
Generator ID (for the API) |
To configure the generator:
- 1.To assign a generator to a path expression:
- 1.Under Sub-generators, click Add Generator. On the sub-generator configuration panel, the Cell JSON field contains a sample value from the source database. You can use the previous and next icons to page through different values.
- 2.In the Path Expression field, type the JSONPath expression to identify the value to apply the generator to. To populate a path expression, you can also click a value in the Cell JSON field. Matched JSON Values shows the result from the value in Cell JSON.
- 3.By default, the selected generator is applied to any value that matches the expression. To limit the types of values to apply the generator to, from the Type Filter, specify the applicable types. You can select Any, or you can select any combination of String, Number, and Null.
- 4.From the Generator Configuration dropdown list, select the generator to apply to the path expression. You cannot select another composite generator.
- 5.Configure the selected generator. You cannot configure the selected generator to be consistent with another column.
- 6.To save the configuration and immediately add a generator for another path expression, click Save and Add Another. To save the configuration and close the add generator panel, click Save.
- 2.From the Sub-Generators list:
- 1.To edit a generator assignment, click the edit icon.
- 2.To remove a generator assignment, click the delete icon.
- 3.To move a generator assignment up or down in the list, click the up or down arrow.
- 3.If Tonic data encryption is enabled, then to use it for this column, toggle Use data encryption process to the on position.
Uses regular expressions to parse strings and replace specified substrings with the output of specified generators. The parts of the string to replace are specified inside unnamed top-level capture groups.
Consistency | Determined by the selected sub-generators. |
Linking | Determined by the selected sub-generators. |
Differential privacy | Determined by the selected sub-generators. |
Data-free | Determined by the selected sub-generators. |
Generator ID (for the API) |
To configure the generator:
- 1.To add a regular expression:
- 1.Click Add Regex. On the configuration panel, Cell Value shows a sample value from the source database. You can use the previous and next options to navigate through the values.
- 2.By default, Replace all matches is enabled. To only match the first occurrence of a pattern, toggle Replace all matches to the off position.
- 3.In the Pattern field, enter a regular expression. If the expression is valid, then Tonic displays the capture groups for the expression.
- 4.For each capture group, to select and configure the generator to apply, click the selected generator. You cannot select another composite generator.
- 5.To save the configuration and immediately add a generator for another path expression, click Save and Add Another. To save the configuration and close the add generator panel, click Save.
- 2.From the Regexes list:
- 1.To edit a regex, click the edit icon.
- 2.To remove a regex, click the delete icon.
Generates unique alpha-numeric strings based on any printable ASCII characters. The length of the source string is not preserved. You can choose to exclude lowercase letters from the generated values.
Consistency | Yes, can be made self-consistent. |
Linking | No, cannot be linked. |
Differential privacy | No |
Data-free | No |
Generator ID (for the API) |
To configure the generator:
- 1.To exclude lowercase letters from the generated values, toggle Exclude Lowercase Alphabet to the on position.
- 2.Toggle the Consistency setting to indicate whether to make the generator consistent. By default, the generator is not consistent.
- 3.If Tonic data encryption is enabled, then to use it for this column, toggle Use data encryption process to the on position.
Consistency | Yes, can be made self-consistent or consistent with another column. |
Linking | No, cannot be linked. |
Differential privacy | Yes, if consistency is not enabled. |
Data-free | Yes, if consistency is not enabled. |
Generator ID (for the API) |
To configure the generator, toggle the Consistency setting to indicate whether to make the generator consistent.
By default, the generator is not consistent.
If consistency is enabled, then by default it is self-consistent. To make the generator consistent with another column, from the Consistent to dropdown list, select the column.
When the generator is consistent with itself, then a given source value is always mapped to the same destination value. For example, My Business is always mapped to New Business.
When the generator is consistent with another column, then a given source value in that other column always results in the same destination value for the company name column. For example, if the company name column is consistent with a name column, then every instance of John Smith in the name column in the source database has the same company name in the destination database.
If Tonic data encryption is enabled, then to use it for this column, toggle Use data encryption process to the on position.
A categorical generator creates values at the same frequency and using the same values as the underlying data. In other words, it shuffles the existing values within a field. Note that NULL is considered a separate value.
It maintains the values and value frequency, but disassociates the values from other pieces of data.
For example, a column contains the values
Small
, Medium
, and Large
. Small
appears 3 times, Medium
appears 4 times, and Large
appears 5 times. In the output data, each value still appears the same number of times, but the values are shuffled to different rows.This generator is optimized for categories with fewer than 10,000 unique values. If your underlying data has more unique values (for example, your field is populated by freeform text entry), we recommend that you use the Character Scramble or Custom Categorical generator.
Consistency | No, cannot be made consistent. |
Linking | Yes, can be linked. |
Differential privacy | Configurable |
Data-free | No |
Generator ID (for the API) |
To configure the generator:
- 1.From the Link To dropdown, select the columns to link to the current column. You can select from other columns that use the Categorical generator.
- 2.Toggle the Differential Privacy setting to indicate whether to make the output data differentially private. By default, differential privacy is disabled.
- 3.If Tonic data encryption is enabled, then to use it for this column, toggle Use data encryption process to the on position.
This generator replaces letters with random other letters and numbers with random other numbers. Punctuation, whitespace, and mathematical symbols are preserved.
For example, for the following input string:
ABC.123 123-456-789 Go!
The output would be something like:
PRX.804 296-915-378 Ab!
This generator securely masks letters and numbers. There is no way to recover the original data.
Consistency | Yes, can be made self-consistent |
Linking | No, cannot be linked |
Differential privacy | No |
Data-free | No |
Generator ID (for the API) |
To configure the generator, toggle the Consistency setting to indicate whether to make the generator self-consistent.
By default, the generator is not consistent.
If Tonic data encryption is enabled, then to use it for this column, toggle Use data encryption process to the on position.
Performs a random character replacement that preserves formatting (spaces, capitalization, and punctuation).
Characters are replaced with other characters from within the same Unicode Block.
For example, for the following input string:
Miami Store #162
The output would be something like:
Vgkjg Gmlvf #681
Note that for a numeric column, when a generated number starts with a 0, the starting 0 is removed. This could result in matching output values in different columns. For example, one column is changed to 113 and the other to 0113, which also becomes 113.
Consistency | This generator is implicitly self-consistent. You do not specify whether the generator is consistent.
Every occurrence of a character always maps to the same substitute character.
Because of this, it can be used to preserve a join between two text columns, such as a join on a name or email. |
Linking | No, cannot be linked. |
Differential privacy | No |
Data-free | No |
Generator ID (for the API) |
If Tonic data encryption is enabled, then to use it for this column, toggle Use data encryption process to the on position.
Generates a random company name-like string.
Consistency | Yes, can be made self-consistent or consistent with another column. |
Linking | No, cannot be linked. |
Differential privacy | Yes, if consistency is not enabled. |
Data-free | Yes, if consistency is not enabled. |
Generator ID (for the API) |
To configure the generator, toggle the Consistency setting to indicate whether to make the generator consistent.
By default, the generator is not consistent.
If consistency is enabled, then by default it is self-consistent. To make the generator consistent with another column, from the Consistent to dropdown list, select the column.
When the generator is consistent with itself, then a given source value is always mapped to the same destination value. For example, My Company is always mapped to New Company.
When the generator is consistent with another column, then a given source value in that other column always results in the same destination value for the company name column. For example, if the company name column is consistent with a name column, then every instance of John Smith in the name column in the source database has the same company name in the destination database.
If Tonic data encryption is enabled, then to use it for this column, toggle Use data encryption process to the on position.
Applies different generators to the value conditionally based on any value in the table.
For example, a Users table contains Name, Username, and Role columns. For the Username column, you can use a conditional generator to indicate that if the value of Role is something other than Test, then use the Character Scramble generator for the Username value. For Test users, the name is not masked.
Consistency | Determined by the selected generators. |
Linking | Determined by the selected generators. |
Differential privacy | Determined by the selected generators. |
Data-free | Determined by the selected generators. |
Generator ID (for the API) |
The generator consists of a list of options. Each option includes the required conditions and the generator to use if those conditions are met.
The generator always contains a Default option. The Default option is used if the value does not meet any of the conditions. To configure the Default option:
- 1.From the Default dropdown list, select the generator to use by default.
- 2.Configure the selected generator.
To add a condition option:
- 1.Click + Conditional Generator.
- 2.To add a condition:
- 1.Click + Condition.
- 2.From the column list, select the column for which to check the value.
- 3.Select the comparison type.
- 4.Enter the column value to check for.
To remove a condition, click the delete icon for the condition. - 3.From the Generator dropdown list, select the generator to run on the current column if the conditions are met. You cannot select another composite generator.
- 4.Choose the configuration options for the selected generator.
To view details for and edit a condition option, click the expand icon for that option.
To remove a condition option, click the delete icon for the option.
Uses a single value to mask all of the values in the column.
For example, you can replace every value in a string column with the
String1
. Or you can replace every value in a numeric column with the value 12345
.Consistency | No, cannot be made consistent. |
Linking | No, cannot be linked. |
Differential privacy | Yes |
Data-free | Yes |
Generator ID (for the API) |
To configure the generator, in the Constant Value field, provide the value to use.
The value must be compatible with the field type. For example, you cannot provide a string value for an integer column.
If Tonic data encryption is enabled, then to use it for this column, toggle Use data encryption process to the on position.
Generates a continuous distribution to fit the underlying data.
This generator can be linked to other Continuous generators to create multivariate distributions and can be partitioned by other columns.
Consistency | No, cannot be made consistent. |
Linking | Yes, can be linked. |
Differential privacy | Configurable |
Data-free | No |
Generator ID (for the API) |
To configure the generator:
- 1.From the Link To drop-down list, select the other Continuous generator columns to link to. The linking creates a multivariate distribution.
- 2.From the Partition By drop-down list, select one or more columns to use to partition the data. The selected columns must have the generator set to either Passthrough or Categorical. For more information about partitioning and how it works, see Partitioning a column.
- 3.Toggle the Differential Privacy setting to indicate whether to make the output data differentially private. By default, the generator is not differentially private.
- 4.If Tonic data encryption is enabled, then to use it for this column, toggle Use data encryption process to the on position.
Links columns in two tables. This column value is the sum of the values in a column in another table.
This generator does not provide a preview. The sums are not computed until the other table is generated.
For example, a Customers table contains a Total_Sales column. The Transactions table uses a foreign key Customer_ID column to identify the customer who made the transaction, and an Amount column that contains the amount of the sale. The Customer_ID value in the Transactions table is a value from the ID primary key column in the Customers table.
You assign the Cross Table Sum generator to the Total_Sales column. In the generator configuration, you indicate that the value is the sum of the Amount values for the Customer_ID value that matches the primary key ID value for the current row.
For the Customers row for ID
123
, the Total_Sales column contains the sum of the Amount column for Transactions rows where Customer_ID is 123
.Consistency | No, cannot be made consistent. |
Linking | No, cannot be linked. |
Differential privacy | No |
Data-free | No |
Generator ID (for the API) |
To configure the generator:
- 1.From the Foreign Table dropdown list, select the table that contains the column for which to sum the values.
- 2.From the Foreign Key dropdown list, select the foreign key. The foreign key identifies the row from the current table that is referred to in the foreign table.
- 3.From the Sum Over dropdown list, select the column for which to sum the values.
- 4.From the Primary Key dropdown list, select the primary key for the current table.
- 5.If Tonic data encryption is enabled, then to use it for this column, toggle Use data encryption process to the on position.
Masks text columns by parsing the values as rows whose columns are delimited by a specified character.
You can assign specific generators to specific indexes. You can also use the generator that is assigned to a specific index as the default. This applies the generator to every index that does not have an assigned generator.
The output value maintains the quotes around the index values.
For example, a column contains the following value:
"first","second","third"
You assign the Character Scramble generator to index 0 and assign Passthrough to index 2. You select index 0 as the index to use for the default generator.
In the output, the first and second values are masked by the Character Scramble generator. The third value is not masked. The output looks something like:
"wmcop", "xjorsl", "third"
Consistency | Determined by the selected sub-generators. |
Linking | Determined by the selected sub-generators. |
Differential privacy | Determined by the selected sub-generators. |
Data-free | Determined by the selected sub-generators. |
Generator ID (for the API) |
To configure the generator:
- 1.In the Delimiter field, type the delimiter that is used as a separator for the value. For example, for the value
"first","second","third"
, the delimiter is a comma. - 2.You can configure a generator for any or all of the indexes. To add a sub-generator for an index:
- 1.Under Sub-Generators, click Add Generator. On the add generator dialog, the Cell CSV field contains a sample value from the source data. You can use the navigation icons to page through the values.
- 2.In the CSV Index field, type the index to assign a generator to. The index numbers start with 0. You cannot use an index that already has an assigned generator. Matched CSV values shows the value at that index for the current sample column value.
- 3.Under Generator Configuration, from the Select a Generator dropdown list, select the generator to use for the selected index. You cannot select another composite generator. To remove the selection, click the delete icon.
- 4.Configure the selected generator. You cannot configure the selected generator to be consistent with another column.
- 5.To save the configuration and immediately add a generator for another index, click Save and Add Another. To save the configuration and close the add generator panel, click Save.
- 3.From the Sub-Generators list:
- 1.To edit a generator assignment, click the edit icon.
- 2.To remove a generator assignment, click the delete icon.
- 3.To move a generator assignment up or down in the list, click the up or down arrow.
- 4.After you configure a generator for at least one index, the Default Link dropdown list is displayed. From the Default Link dropdown list, select the index to use to determine how to mask values for indexes that do not have an assigned generator. For example, you assign the Character Scramble generator to index 2. If you set Default Link to 2, then all indexes that do not have an assigned generator use the Character Scramble generator.
A version of the Categorical generator that selects from values that you provide instead of shuffling the original values.
Consistency | Yes, can be made self-consistent or consistent with another column. |
Linking | Yes, can be linked. |
Differential privacy | Yes, if consistency is not enabled. |
Data-free | Yes, if consistency is not enabled. |
Generator ID (for the API) |
To configure the generator:
- 1.From the Link To dropdown list, select the columns to link this column to. You can only select other columns that use the Custom Categorical generator.
- 2.In the Custom Categories text area, enter the list of values that the generator can choose from. Put each value on a separate line.
- 3.Toggle the Consistency setting to indicate whether to make the column consistent. By default, consistency is disabled.
- 4.If you enable consistency, then by default the generator is self-consistent. To make the generator consistent with another column, from the Consistent to dropdown list, select the column. When a generator is self-consistent, then a given value in the source database is always mapped to the same value in the destination database. When a generator is consistent with another column, then a given source value in that column always results in the same value for the current column in the destination database. For example, a department column is consistent with a username column. For each instance of User1 in the source database, the value in the department column is the same.
- 5.If Tonic data encryption is enabled, then to use it for this column, toggle Use data encryption process to the on position.
Truncates a date value or a timestamp to a specific part.
For a date or a timestamp, you can truncate to the year, month, or day.
For a timestamp, you can also truncate to the hour, minute, or second.
Consistency | No, cannot be made consistent. |
Linking | No, cannot be linked. |
Differential privacy | No |
Data-free | No |
Generator ID (for the API) |
To configure the generator:
- 1.From the dropdown list, select the part of the date or timestamp to truncate to. For both date and timestamp values, you can truncate to the year, month, or day. When you select one of these options, the time portion of a timestamp is set to 00:00:00. For the date, the values below the selected truncation value are set to 01. For example, when you truncate to month, the day value is set to 01, and the timestamp is set to 00:00:00. For a timestamp value, you also can truncate to the hour, minute, or second. The date values remain the same as the original data. The time values below the selected truncation value are set to 00. For example, when you truncate to minute, the seconds value is set to 00.
- 2.Toggle the Birth Date option. When you enable Birth Date, the generator shifts dates that are more than 90 years before the generation date to the date exactly 90 years before the generation date. For example, a generation occurs on January 1, 2023. Any date that occurs before January 1, 1933 is changed to January 1, 1933.This is mostly intended for birthdate values, to group birthdates for everyone who is older than 90 into a single year. This is used to comply with HIPAA Safe Harbor.
- 3.If Tonic data encryption is enabled, then to use it for this column, toggle Use data encryption process to the on position.
Here are examples of date and time values and how the selected truncation affects the output:
Option | Date value | Timestamp value |
---|---|---|
Original value | 2021-12-20 | 2021-12-20 13:42:55 |
Truncate to year | 2021-01-01 | 2021-01-01 00:00:00 |
Truncate to month | 2021-12-01 | 2021-12-01 00:00:00 |
Truncate to day | 2021-12-20 | 2021-12-20 00:00:00 |
Truncate to hour | Not applicable | 2021-12-20 13:00:00 |
Truncate to minute | Not applicable | 2021-12-20 13:42:00 |
Truncate to second | Not applicable | 2021-12-20 13:42:55 |
This generator scrambles the characters in an email address. It preserves formatting and keeps the
@
and .
characters.For example, for the following input value:
The output value would be something like:
By default, the generator scrambles the domain. You can configure the generator to not mask specific domains. You can also specify a domain to use for all of the output email addresses.
For example, if you configure the generator to not scramble the domain
company.com
, then the output for [email protected]
would look something like:This generator securely masks letters and numbers. There is no way to recover the original data.
Consistency | Yes, can be made self-consistent. |
Linking | No, cannot be linked. |
Differential privacy | No |
Data-free | No |
Generator ID (for the API) |
To configure the generator:
- 1.In the Email Domain field, enter a domain to use for all of the output values. For example, use
@mycompany.com
for all of the generated values. The generator scrambles the content before the@
. - 2.In the Excluded Email Domains field, enter a comma-separated list of domains for which email addresses are not masked in the output values. This allows you, for example, to maintain internal or testing email addresses that are not considered sensitive.
- 3.Toggle the Replace invalid emails setting to indicate whether to replace an invalid email address with a generated valid email address. By default, invalid email addresses are not replaced. In the replacement values, the username is generated. If you specify a value for Email Domain, then the email addresses use that domain. Otherwise, the domain is generated.
- 4.Toggle the Consistency setting to indicate whether to make the column self-consistent. By default, consistency is disabled.
Generates timestamps fitting an event distribution. The source timestamp must include a date. It cannot be a time-only value.
Link columns to create a sequence of events across multiple columns. This generator can be partitioned by other columns.
Consistency | No, cannot be made consistent. |
Linking | Yes, can be linked. |
Differential privacy | No |
Data-free | No |
Generator ID (for the API) |
To configure the generator:
- 1.From the Link To dropdown list, select the other Event Timestamps generator columns to link this column to. Linking creates a sequence across multiple columns.
- 2.From the Partition drop-down list, select one or more columns to use to partition the data. The selected columns must have their generator set to either Passthrough or Categorical. For more information about partitioning and how it works, see Partitioning a column.
- 3.The Options list displays the current column and linked columns. Use the Up and Down buttons to configure the column sequence.
- 4.If Tonic data encryption is enabled, then to use it for this column, toggle Use data encryption process to the on position.
This generator scrambles characters while preserving formatting and keeping the file extension intact.
For example, for the following input value:
DataSummary1.pdf
The output value would look something like:
RsnoPwcsrtv5.pdf
This generator securely masks letters and numbers. There is no way to recover the original data.
Consistency | Yes, can be made self-consistent. |
Linking | No, cannot be linked. |
Differential privacy | No |
Data-free | No |
Generator ID (for the API) |
To configure the generator, toggle the Consistency setting to indicate whether to make the generator self-consistent.
By default, the generator is not consistent.
If Tonic data encryption is enabled, then to use it for this column, toggle Use data encryption process to the on position.
This generator replaces all instances of the find string with the replace string.
For example, you can indicate to replace all instances of abc with 123.
Consistency | No, cannot be made consistent. |
Linking | No, cannot be linked. |
Differential privacy | No |
Data-free | No |
Generator ID (for the API) |
To configure the generator:
- 1.In the Find field, type the string to look for in the source column value. To use a regular expression to identify the source value, check the Use Regex check box. If you use a regular expression, use backslash (
\
) as the escape character. - 2.In the Replace field, type the string to replace the matching string with.
- 3.If Tonic data encryption is enabled, then to use it for this column, toggle Use data encryption process to the on position.
The FNR generator transforms Norwegian national identity numbers. In Norwegian, the term for national identity number abbreviates to FNR.
The first six digits of an FNR reflects the person's birthdate. You can choose to preserve the birthdates from the source values in the destination values. If you do not preserve the source values, the destination values are still within the same date range as the source values.
Another digit in an FNR indicates whether the person is male or female. You can specify whether to preserve in the generated value the gender indicated in the source value.
The last digits in an FNR are a checksum value. The last digits in the destination value are not a checksum - the values are random.