Calculate two alphanumeric check characters.
Initialising algorithm engine for ISO 7064 MOD 1271-36 Calculator...
How ISO 7064 MOD 1271-36 Calculator Works?
The ISO 7064 MOD 1271-36 Calculator works by converting digits and letters to values 0–35, running the pure recurrence with radix 36 and modulus 1271, and splitting the result into 2 alphanumeric check characters.
- 1Convert 0–9 to 0–9 and A–Z to 10–35.
- 2Update p = ((p + value) × 36) mod 1271 for each character from the left.
- 3Multiply by 36 once more modulo 1271.
- 4Compute c = (1272 − p) mod 1271.
- 5Output ⌊c / 36⌋ and c mod 36 as 2 characters from 0–9A–Z.
ISO 7064 MOD 1271-36 Calculator Formula
The ISO 7064 MOD 1271-36 formula is c = (1272 − p) mod 1271, written as 2 base-36 characters.
pᵢ = ((pᵢ₋₁ + v(aᵢ)) × 36) mod 1271 p = (pₙ × 36) mod 1271 c = (1272 − p) mod 1271 Check = b36(⌊c / 36⌋) + b36(c mod 36)
v(a)is the base-36 value.1271is the modulus M (1271 = 31 × 41).
(0 + 18) × 36 mod 1271 = 648 (648 + 28) × 36 mod 1271 = 187 (187 + 24) × 36 mod 1271 = 1241 (1241 + 7) × 36 mod 1271 = 443 (443 + 9) × 36 mod 1271 = 1020 Extra step for 2 check characters: 1020 × 36 mod 1271 = 1132 Check value = (1271 + 1 − 1132) mod 1271 = 140 Check characters = 3W Complete string = ISO793W
ISO 7064 MOD 1271-36 Calculator Conversion Table
The ISO 7064 MOD 1271-36 conversion table shows sample payloads with their 2 alphanumeric check characters.
| Sample payload | Length | Check value c | Check characters | Complete string |
|---|---|---|---|---|
| ISO79 | 5 | 140 | 3W | ISO793W |
| 1234567890 | 10 | 724 | K4 | 1234567890K4 |
| ABC123 | 6 | 922 | PM | ABC123PM |
| A1B2C3D4 | 8 | 566 | FQ | A1B2C3D4FQ |
| ZZZZZZ | 6 | 869 | O5 | ZZZZZZO5 |
| SERIAL2026 | 10 | 124 | 3G | SERIAL20263G |
What is ISO 7064 MOD 1271-36 Calculator?
An ISO 7064 MOD 1271-36 Calculator is a tool that computes 2 alphanumeric check characters for strings of digits and capital letters. The pair detects all single errors and adjacent transpositions and leaves an undetected-error rate near 1 in 1,271.
MOD 1271-36 fits long alphanumeric codes where 1 check character is too weak, such as product keys and container seals.
What are the uses of ISO 7064 MOD 1271-36 Calculator?
There are 4 main uses of the ISO 7064 MOD 1271-36 Calculator, including product keys, alphanumeric serials, and seal numbers.
- Product keys: Software vendors protect long activation keys.
- Alphanumeric serials: Manufacturers add 2 check characters to mixed serials.
- Seal and tag numbers: Shippers check security seal codes.
- Conformance testing: Developers confirm the ISO79 → 3W example.