Skip to main content
Delphix

Algorithm: Credit Card (Deprecated) (KBA4068)

 

 

KBA

KBA# 4068

This is an Out-of-the-Box algorithm. The algorithm is used for Credit Cards and retains the 4 leading digits and generates a random valid Credit Card number with the same number of digits.

Applicable Delphix Versions

Click here to view the versions of the Delphix engine to which this article applies
Major Release All Sub Releases
6.0 6.0.0.0, 6.0.1.0, 6.0.1.1, 6.0.2.0, 6.0.2.1, 6.0.3.0, 6.0.3.1, 6.0.4.0, 6.0.4.1, 6.0.4.2, 6.0.5.0, 6.0.6.0, 6.0.6.1

5.3

5.3.0.0, 5.3.0.1, 5.3.0.2, 5.3.0.3, 5.3.1.0, 5.3.1.1, 5.3.1.2, 5.3.2.0, 5.3.3.0, 5.3.3.1, 5.3.4.0, 5.3.5.0, 5.3.6.0, 5.3.7.0, 5.3.7.1, 5.3.8.0, 5.3.8.1, 5.3.9.0

5.2

5.2.2.0, 5.2.2.1, 5.2.3.0, 5.2.4.0, 5.2.5.0, 5.2.5.1, 5.2.6.0, 5.2.6.1

5.1

5.1.0.0, 5.1.1.0, 5.1.2.0, 5.1.3.0, 5.1.4.0, 5.1.5.0, 5.1.5.1, 5.1.6.0, 5.1.7.0, 5.1.8.0, 5.1.8.1, 5.1.9.0, 5.1.10.0

5.0

5.0.1.0, 5.0.1.1, 5.0.2.0, 5.0.2.1, 5.0.2.2, 5.0.2.3, 5.0.3.0, 5.0.3.1, 5.0.4.0, 5.0.4.1, 5.0.5.0, 5.0.5.1, 5.0.5.2, 5.0.5.3, 5.0.5.4

At a Glance 

Deprecated: This algorithm has been Deprecated in version 6.0.7.0 and replaced with a new Framework (Payment Card) and a new Out-of-the-Box algorithm.
Characteristics:

Type
Unique
Lookup1
Referential
Integrity2

1:1 Mapping3
Code based n/a No  No

Unique Lookup - Not applicable. 
Referential Integrity - The masked value will be the same between tables, databases, and jobs.
1:1 Mapping - The masked value will be mapped uniquely to the input value.

Encoding: ASCII
Strength: Very fast, retains the first 4 digits of the IIN (Issuer Identification Number), and generates a fake valid Credit Card number. 
Limitations: Random number generation. Can generate duplicates. 
Customization: None

Creating and Modifying Algorithms using the User Interface

This algorithm can not be created or modified. 

Example

Here are some examples from different vendors with different lengths. Note, repeated credit card numbers will not return the same masked result and if the value is invalid the last 5+ digits will be set to 1.

+----+---------------------+------------------+
| ID | Orig                | Mask             |
+----+---------------------+------------------+
| 1  | 5500000000000004    | 5500000132273057 | < Different vendors and lenghts.
| 2  | 6011000000000004    | 6011000089940682 |
| 3  | 3088000000000009    | 3088000886065290 |
| 4  | 340000000000009     | 340000151134979  |
| 5  | 30000000000004      | 30000723589523   |
+----+---------------------+------------------+
| 6  | 4111111111111111    | 4111000962840052 | < The masked result is random. 
| 7  | 4111111111111111    | 4111000124401132 |
+----+---------------------+------------------+
| 8  | 201400000000009     | 2014111111111111 | < Invalid numbers - set to 1.
| 9  | 3088 0000 0000 0009 | 3088111111111111 |
| 10 | 3088-0000-0000-0009 | 3088111111111111 |
+----+---------------------+------------------+

 

 

 


Related Articles

The following articles may provide more information or related information to this article: