Table of Contents

Search

  1. Preface
  2. Working with Transformations
  3. Aggregator Transformation
  4. Custom Transformation
  5. Custom Transformation Functions
  6. Data Masking Transformation
  7. Data Masking Examples
  8. Expression Transformation
  9. External Procedure Transformation
  10. Filter Transformation
  11. HTTP Transformation
  12. Identity Resolution Transformation
  13. Java Transformation
  14. Java Transformation API Reference
  15. Java Expressions
  16. Java Transformation Example
  17. Joiner Transformation
  18. Lookup Transformation
  19. Lookup Caches
  20. Dynamic Lookup Cache
  21. Normalizer Transformation
  22. Rank Transformation
  23. Router Transformation
  24. Sequence Generator Transformation
  25. Sorter Transformation
  26. Source Qualifier Transformation
  27. SQL Transformation
  28. Using the SQL Transformation in a Mapping
  29. Stored Procedure Transformation
  30. Transaction Control Transformation
  31. Union Transformation
  32. Unstructured Data Transformation
  33. Update Strategy Transformation
  34. XML Transformations

Transformation Guide

Transformation Guide

Credit Card Number Masking

Credit Card Number Masking

Credit card masking applies a built-in mask format to disguise credit card numbers. You can input multiple credit card number formats. Optionally, you can replace the credit card issuer.
The PowerCenter Integration Service generates a logically valid credit card number when it masks a valid credit card number. The length of the source credit card number must be from 13 through 19 digits. The input credit card number must have a valid checksum based on credit card industry rules.
The source credit card number can contain numbers, spaces, and hyphens. If the credit card has incorrect characters or is the wrong length, the Integration Service writes an error to the session log. The PowerCenter Integration Service applies a default credit card number mask when the source data is not valid.
You can configure credit card masking to keep or replace the first six digits of a credit card number. Together, these digits identify the credit card issuer. If you replace the credit card issuer, you can specify another credit card issuer. You can specify the following credit card issuers:
  • American Express
  • Discover
  • JCB
  • MasterCard
  • Visa
  • Any
If you select Any, the Data Masking transformation returns a combination of all the credit card issuers. If you mask the credit card issuer, the Data Masking transformation can return nonunique values.
For example, the CUSTOMER table has the following credit card numbers:
2131 0000 0000 0008 5500 0000 0000 0004 6334 0000 0000 0004
If you select a single credit card issuer, the credit card numbers share all but the last digit. To generate valid credit card numbers, the Data Masking transformation sets the last digit of each credit card to the same value.

0 COMMENTS

We’d like to hear from you!