Mask Credit Card and keep bank - Cloud - 8.0

Data privacy

Version
Cloud
8.0
Language
English
Product
Talend Big Data Platform
Talend Data Fabric
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Data Governance > Third-party systems > Data Quality components > Data privacy components
Data Quality and Preparation > Third-party systems > Data Quality components > Data privacy components
Design and Development > Third-party systems > Data Quality components > Data privacy components
Last publication date
2024-03-28
This function masks valid credit card numbers and keeps the Bank Identification Number/Issuer Identification Number (BIN/IIN). The output value is a valid credit card number.
This function:
  • keeps the first six digits,
  • masks the other digits and
  • generates the last digit using the Luhn algorithm.

Two methods are available: FF1 with AES and FF1 with SHA-2. This function requires no alphabet and no extra parameter.

In the following example, the Keep format check box is selected to preserve the space from the input value.

Credit card number Method Example of masked value

4570 5624 6978 6793

FF1 with AES

4570 5678 2786 4430

374140537770721

FF1 with AES

374140100455098

5168690988613241

FF1 with SHA-2

5168699616108078

5158495805899854

FF1 with SHA-2

5158494455420285

0123 4567 8987 6543 210 FF1 with AES null