If the input value is a correct Visa, MasterCard or American Express credit card number, this function generates a credit card number from the same company and keeps the prefix
This function applies on String or Long values.
This function requires no extra parameter.
The generated credit card number passes algorithms that detect false credit card numbers.
In the following example, the input value is a valid American Express credit card number. The masked value is also a valid American Express credit card number.
|Example of a masked value