Finnish Personal Identity Code (FinnishPicGenerator)

The Finnish Personal Identity Code generator generates a valid Finnish Personal Identity Code (PIC) that was generated during a specified date range.

The Finnish Personal Identity Code generator does not support linking. It can be self-consistent, but not consistent with another column. You cannot configure differential privacy.

You configure the start and end dates for the date range.


{
 "schema": "string",
 "table": "string",
 "column": "string",
 "metadata": {
   "presetId": "string",
   "generatorId": "FinnishPicGenerator",
   "isConsistent": boolean,
   "startDate": "timestamp",  //Only uses the date.
   "endDate": "timestamp",  //Only uses the date.  
   "encryptionProcessor": "x-on", //To use configured Structural data encryption
   "customValueProcessor": "string"  //If custom value processor applied
 }
}

Example replacement

In the following example of the Finnish PIC generator, the PICs are for a date range between January 1, 1970 and December 31, 1990.


{
 "name": "user_pic",
 "schema": "public",
 "table": "users",
 "links": [
   {
     "schema": "public",
     "table": "users",
     "column": "user_pic",
     "metadata": {
       "presetId": "FinnishPicGenerator",
       "generatorId": "FinnishPicGenerator",
       "startDate": "1979-01-01T00:00:00Z",
       "endDate": "1990-12-31T00:00:00Z",
       "isConsistent": false
     }
   }
 ]
}

Last updated

Was this helpful?