ISBN-10 checksum using modulo 11 with weighted positions and possible X check digit Standard book identifier validation used worldwide in publishing.
| Property | Value |
|---|---|
| Category | Checksums |
| Sub-category | Publication Identifier |
| Security status | π Educational Only |
| Complexity | Intermediate |
| Inventor | International Organization for Standardization (ISO) |
| Year | 1970 |
| Origin | Not specified |
| Source | algorithms/checksum/isbn.js |
Status: π Educational Only
| Issue | Description | Mitigation |
|---|---|---|
| Not Cryptographically Secure | Designed for accidental error detection only, not security | β |
| Limited Error Detection | Cannot detect all types of transcription errors | β |
3 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.
Vector 1 β Valid ISBN-10: 0-306-40615-9
| Field | Value |
|---|---|
input |
00030006040006010509 |
expected |
01 |
Vector 2 β Invalid ISBN-10: 0-306-40615-3
| Field | Value |
|---|---|
input |
00030006040006010503 |
expected |
00 |
Vector 3 β Valid ISBN-10: 0-19-605688-3
| Field | Value |
|---|---|
input |
00010906000506080803 |
expected |
01 |