ISBN-13 checksum using modulo 10 (EAN-13 based) for modern book identification Standard book identifier validation used worldwide in publishing.
| Property | Value |
|---|---|
| Category | Checksums |
| Sub-category | Publication Identifier |
| Security status | π Educational Only |
| Complexity | Beginner |
| Inventor | International Organization for Standardization (ISO) |
| Year | 2007 |
| 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-13: 978-0-306-40615-7
| Field | Value |
|---|---|
input |
09070800030006040006010507 |
expected |
01 |
Vector 2 β Invalid ISBN-13: 978-0-306-40615-3
| Field | Value |
|---|---|
input |
09070800030006040006010503 |
expected |
00 |
Vector 3 β Valid ISBN-13: 979-0-19-605688-2
| Field | Value |
|---|---|
input |
09070900010906000506080802 |
expected |
01 |