IBAN (International Bank Account Number) checksum using modulo-97 algorithm per ISO 13616. Validates international bank accounts with 2-digit check digits. Format: CC12BANK-ACCOUNT where CC is country code, 12 is check digits. Used in SEPA transactions worldwide.
| Property | Value |
|---|---|
| Category | Checksums |
| Sub-category | Banking Standard |
| Security status | 🎓 Educational Only |
| Complexity | Intermediate |
| Inventor | European Committee for Banking Standards |
| Year | 1997 |
| Origin | Not specified |
| Source | algorithms/checksum/iban-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 — German IBAN
| Field | Value |
|---|---|
input |
44453839333730343030343430353332303133303030 |
expected |
0001 |
Vector 2 — UK IBAN
Source: IBAN validation
| Field | Value |
|---|---|
input |
47423832574553543132333435363938373635343332 |
expected |
0001 |
Vector 3 — Check digit calculation - Invalid IBAN
| Field | Value |
|---|---|
input |
47423030574553543132333435363938373635343332 |
expected |
0010 |