ICCID (Integrated Circuit Card Identifier) check digit for SIM cards using Luhn algorithm. 18-20 digit identifier per ITU-T E.118 standard. Format: 89 (telecom) + CC (country) + issuer + account + check digit. Used in GSM, UMTS, LTE SIM cards worldwide.
| Property | Value |
|---|---|
| Category | Checksums |
| Sub-category | Telecom Identifier |
| Security status | 🎓 Educational Only |
| Complexity | Beginner |
| Inventor | ITU-T (International Telecommunication Union) |
| Year | 1998 |
| Origin | Not specified |
| Source | algorithms/checksum/iccid-checksum.js |
Status: 🎓 Educational Only
No vulnerabilities are recorded for this implementation.
3 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.
Vector 1 — Official ICCID 89148000005339755555
| Field | Value |
|---|---|
input |
38393134383030303030353333393735353535 |
expected |
05 |
Vector 2 — US AT&T ICCID pattern
| Field | Value |
|---|---|
input |
38393031343130313233343536373839303132 |
expected |
02 |
Vector 3 — DE Vodafone ICCID pattern
| Field | Value |
|---|---|
input |
38393439313031323334353637383930313233 |
expected |
02 |