Modulo-11 weighted checksum used in ISBN-10, ISSN, and various identification systems. Uses position-based weights to detect single-digit errors and most transposition errors. Check digit can be 0-9 or X (representing 10).
| Property | Value |
|---|---|
| Category | Checksums |
| Sub-category | Modular Arithmetic |
| Security status | 🎓 Educational Only |
| Complexity | Beginner |
| Inventor | ISBN/ISSN standard |
| Year | 1970 |
| Origin | Not specified |
| Source | algorithms/checksum/modulo.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 — ISBN-10 format
| Field | Value |
|---|---|
input |
303132303030303038 |
expected |
03 |
Vector 2 — Simple digit sequence
Source: Modulo-11 weighted checksum
| Field | Value |
|---|---|
input |
313233343536373839 |
expected |
0a |
Vector 3 — Zero digits
Source: Modulo-11 edge case
| Field | Value |
|---|---|
input |
3030 |
expected |
00 |