Big Data Platform
Cloud API Services Platform
Cloud Big Data Platform
Cloud Data Fabric
Cloud Data Management Platform
Data Management Platform
Data Services Platform
Real-Time Big Data Platform
DataMasking routines are portions of code that perform masking on your data. You can use them in the settings of several components in a Talend Job.
To access the functions, in the Repository tree view, go to and double-click DataMasking.
|Masks a 16-digit credit card number with a defined character from the 5th to the 12th place.
DataMasking.maskCreditCardNumber (masks a credit card
|Creates a random String of defined length.
DataMasking.createRandomString (for example:
|Adds a random value from a certain range to a numeric value.
DataMasking.blurNumber (masks numeric values)
|Returns a default value as String.
setDefaultValue (replaces the string
to be masked by a given default value)
|Creates a random IP address.
DataMasking.createIPAdress (masks IP address)
Creates a random IP address and keeps the domain part of the address.
DataMasking.createIPAdressKeepDomain (masks IP address
except for the domain name)
|Returns a random date as String in the specified time range. For example, createRandomDate(1900,2016) should return random dates between the years from 1900 to 2016.
createRandomDate (masks a
|Calculates MD5 hash value from String.
Restriction: This routine is deprecated and has been removed from Talend Studio 8.0. Use it only for migration from 8.0 R2023-05 onwards.
|DataMasking.createMD5 (masks a string with MD5)