We have an issue masking credit card number.
I need to mask credit card numbers. The length of the card numbers is always 16.
For my requirement, I need to keep the first 7 digit so I the credit cart type (VISA, MC, etc) are kept.
I would like to know if there is a masking function that let's me retain the first "x" digits, where "x" is a number and it need to recalculate the check digit.
The masking function would produces unique values as long as the original values are also unique.
Is there any masking function that would work with my requirement?
It needs to work on ZOS, Oracle, SQL SERVER, DB2, etc.
FORMATENCRYPT doesn't recalculate the check digit. I need a valid card number.Have you other suggestion who
- generate valid card number
- keep the first 7 digit
- produces unique values as long as the original values are also unique
Release : 4.8
Component : CA Test Data Manager
This is a new masking added to Fast Data Masker, which is available in the FastDataMasker-188.8.131.52 patch, and will be included in the upcoming GA release of 4.9.
The usage for the HashCard1 masking function is described below.