Skip to content
IRI Logo
Solutions Products
  • Solutions
  • Products
  • Blog
  • BI
  • Big Data
  • DQ
  • ETL
  • IRI
    • IRI Business
    • IRI Workbench
  • Mask
  • MDM
    • Master Data Management
    • Metadata Management
  • Migrate
    • Data Migration
    • Sort Migration
  • Test Data
  • Transform
  • VLDB
  • VLOG

Data Masking: Obscuring Dates and Ages

  • by Rob Howard

Editor’s Note: Note that this article refers to older but still supported methods for obfuscating PII elements like dates of birth and ages in IRI FieldShield. However, a newer article describing date and age value anonymization through random noise (blurring) is here. Blurring and data generalization (bucketing) generally are covered here, and from the IRI web site’s HIPAA section here. Both the newer and older article below discuss masking date values for security purposes, rather than ‘date masking’ for reformatting purposes, which is the purview of this article.

IRI also has solutions for applying consistent, fixed- or random-sized date/time shifts between two or more related date columns in a single row (e.g., admit, discharge, follow-up date for a patient all shifted by +/- 10 days).  Additional solutions exist: for date-related formatting and interval calculations, date data masking and date format masking, realistic PII / PHI (test data) synthesis for dates, and for scoring the risk of re-ID from quasi-identifiers like dates. Contact info@iri.com for help with your use case.

Data masking is a process that obscures or redacts specific data elements within a data source. Data masking is sometimes also used to provide realistic test data without exposing the original data.

Companies that store sensitive information that relates to files (such as a birth date or age) have an obligation to protect that information from the public. Data masking software is specifically designed to protect that kind of information, and by extension, to protect businesses amid general data breaches.

IRI FieldShield is a uniquely powerful data-centric security tool that shields the fields in both flat files and ODBC-connected database tables, large and small. FieldShield obfuscates data with multiple encryption and de-identification functions that you can choose according to your business rules.


Obscuring Date Values with Expression Logic

The IRI Workbench GUI for FieldShield includes a powerful Expression Builder tool that is very useful in data obfuscation. In this example, we will mask something simple like a birth date.

One solution for masking a date involves incrementing or decrementing values by a fixed number of days. The increment/decrement value can also be an environment variable to be specified within a batch process for example.

Data masking with the Expression Builder will generate new dates that reflect the desired interval, and the workbench assures the new dates are valid, an important prerequisite for data masking. For example, 2/29/2011 would never be returned, but rather 3/1/2011.

Take this input sample:

Robert,07/01/1969
Donald,11/21/1966
Peter,05/31/1955
Mary,12/01/1989
Jill,03/28/2001

The following graphic illustrates the simplicity of using the Expression Builder to increment the birth date field (bd) by 10 days. The user builds a simple expression with an increment value of 10 to produce this output:

Output sample:

Robert,07/11/1969
Donald,12/01/1966
Peter,06/10/1955
Mary,12/11/1989
Jill,04/07/2001

10 days were added to each date value, obscuring the original birthday.

Products like IRI FieldShield and IRI CoSort (both supported in IRI Workbench) can protect built-in (and custom-defined) time- and date-stamp formats, including ISO, American (as in this example), Japanese, and European. They also provide many other data masking features that can be applied at the field level.

For more information on IRI data masking solutions, click here, leave a comment below, or email fieldshield@iri.com.

Editor’s note: Please see the editor notes above this article if you have not yet, as they mention other, newer, or more elaborate IRI solutions for working with date values.

Data Masking: Masking Social Security and other National IDs
Selecting Personally Identifiable Information for Secure Queries (FieldShield Filters)
data anonymization data masking data masking tools data privacy date data FieldShield masking date columns ODBC protecting consumer data

Related articles

DarkShield PII Discovery & Masking…
Masking Flat Files in the…
Directory Data Class Search Wizard
Masking PII in a Relational…
IRI Data Class Map
Schema Data Class Search
Training NER Models in IRI…
Masking NoSQL DB PII in…
Masking RDB Data in the…
IRI DarkShield-NoSQL RPC API
Find & Mask File PII…
1 COMMENT
  • SPI Group – FieldShield v3: More Data Masking Functions and Cross-Table Protection Rules
    April 15, 2014 at 9:11 am
    Reply

    […] for start-point encryption is designed to enhance DLP and data governance efforts with additional data masking, encryption, and other functions. And those protection functions can be applied via rules to […]

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Big Data 66
  • Business Intelligence (BI) 77
  • Data Masking/Protection 163
  • Data Quality (DQ) 41
  • Data Transformation 94
  • ETL 122
  • IRI 229
    • IRI Business 86
    • IRI Workbench 162
  • MDM 37
    • Master Data Management 12
    • Metadata Management 25
  • Migration 65
    • Data Migration 60
    • Sort Migration 6
  • Test Data 102
  • VLDB 78
  • VLOG 40

Tracking

© 2025 Innovative Routines International (IRI), Inc., All Rights Reserved | Contact