Credit Card masking functions
You can mask valid credit card numbers.
Function | Random masking | Consistent masking | Format-preserving encryption | Input data validation |
---|---|---|---|---|
Mask Credit Card and keep bank | ||||
Mask Credit Card |
These functions:
- apply on String values,
- support all credit card types and
- keep the original format of the credit card number. For example, if the input has 13 digits, the output has 13 digits.
A credit card number is considered invalid when it does not satisfy the Luhn algorithm.
If the input is an invalid credit card number and there is:
- no "Invalid" output flow, the function returns null in the main flow.
- an "Invalid" output flow, the corresponding data are sent to the "Invalid" output flow.