Hawkynt

PLANET

PLANET (Postal Alpha Numeric Encoding Technique) check digit for US Postal Service Confirm Service. 12 or 14 digits for tracking business reply mail and other tracked mailings. Uses same modulo-10 algorithm as POSTNET but different barcode format.

Properties

Property Value
Category Checksums
Sub-category Postal Tracking
Security status πŸŽ“ Educational Only
Complexity Beginner
Inventor United States Postal Service
Year 1993
Origin πŸ‡ΊπŸ‡Έ United States
Source algorithms/checksum/planet-checksum.js

Security

Status: πŸŽ“ Educational Only

No vulnerabilities are recorded for this implementation.

Notes

Documentation

References

Test vectors

3 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.

Vector 1 β€” PLANET 12-digit

Field Value
input 313233343536373839303132
expected 02

Vector 2 β€” PLANET 14-digit

Field Value
input 3132333435363738393031323334
expected 05

Vector 3 β€” Simple sequence

Field Value
input 303030303030303030303030
expected 00

← All algorithms