|
IIN ranges allocated to issuing networks |
|
|
Issuing Network |
IIN Ranges |
Active |
Length |
Validation |
Symbol |
|
|
|
|
|
|
American Express |
34, 37 |
Yes |
15 |
Luhn algorithm |
AmEx |
Bankcard |
5610, 560221-560225 |
No |
16 |
Luhn algorithm |
BC |
China UnionPay |
622126-622925, 624-626, 6282-6288 |
Yes |
16-19 |
unknown |
CUP |
Diners Club Carte Blanche |
300-305 |
Yes |
14 |
Luhn algorithm |
DC-CB |
Diners Club enRoute |
2014, 2149 |
No |
15 |
no validation |
DC-eR |
Diners Club International |
36 |
Yes |
14 |
Luhn algorithm |
DC-Int |
Diners Club United States & Canada |
54, 55 |
Yes |
16 |
Luhn algorithm |
DC-UC |
Discover Card |
6011, 622126-622925, 644-649, 65 |
Yes |
16 |
Luhn algorithm |
Disc |
InstaPayment |
637-639 |
Yes |
16 |
Luhn algorithm |
IPI |
JCB |
3528-3589 |
Yes |
16 |
Luhn algorithm |
JCB |
Laser |
6304, 6706, 6771, 6709 |
Yes |
16-19 |
unknown |
Lasr |
Maestro |
5018, 5020, 5038, 6304, 6759, 6761, 6763 |
Yes |
12-19 |
Luhn algorithm |
Maes |
MasterCard |
51-55 |
Yes |
16 |
Luhn algorithm |
MC |
Solo |
6334, 6767 |
Yes |
16, 18, 19 |
Luhn algorithm |
Solo |
Switch |
4903, 4905, 4911, 4936, 564182, 633110, 6333, 6759 |
Yes |
16, 18, 19 |
Luhn algorithm |
Swch |
Visa |
4 |
Yes |
16 |
Luhn algorithm |
Visa |
Visa Electron |
4026, 417500, 4508, 4844, 4913, 4917 |
Yes |
16 |
Luhn algorithm |
Visa |
|
|
|
|
|
|
|
Luhn algorithm |
|
|
The Luhn algorithm or Luhn formula, also known as the "modulus 10" or "mod 10" algorithm, is a simple checksum formula used to validate a variety of identification numbers, such as credit card numbers, IMEI numbers, National Provider Identifier numbers in US and Canadian Social Insurance Numbers. It was created by IBM scientist Hans Peter Luhn and described in U.S. Patent No. 2,950,048, filed on January 6, 1954, and granted on August 23, 1960.
The algorithm is in the public domain and is in wide use today. It is specified in ISO/IEC 7812-1[1]. It is not intended to be a cryptographically secure hash function; it was designed to protect against accidental errors, not malicious attacks. Most credit cards and many government identification numbers use the algorithm as a simple method of distinguishing valid numbers from collections of random digits. |
|
|
|
|
|