Search for a tool
Barcode PLANET

Tool to generate/decode PLANET barcodes. PLANET (Postal Numeric Encoding Technique) is a barcode type used in the USA, especially by UPS for mail routing.

Results

Barcode PLANET -

Tag(s) : Character Encoding, Image processing

Share
Share
dCode and you

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!


Thanks to your feedback and relevant comments, dCode has developped the best Barcode PLANET tool, so feel free to write! Thank you !

Barcode PLANET

Barcode PLANET Generator








Options









Barcode PLANET Reader/Decoder


Loading...
(if this message do not disappear, try to refresh this page)


See also: Binary Code

Tool to generate/decode PLANET barcodes. PLANET (Postal Numeric Encoding Technique) is a barcode type used in the USA, especially by UPS for mail routing.

Answers to Questions

How to encrypt using Barcode PLANET cipher?

The PLANET Barcode format makes it possible to code only numbers, in principle either 12 or 14. It contains 4 parts: the type of mail, a sender code, some tracking / marketing codes, a control character.

Each digit is coded in 5 bits, represented by short (= 0) or long (= 1) bars. The PLANET correspondence table is:

0 00111111100
211010311001
410110510101
610011701110
801101901011

The last digit is a check digit.

A PLANET barcode completely coded begins and ends with a bit 1 (represended with a long bar), it also includes a check digit before the final 1.

How to decrypt Barcode PLANET cipher?

The decryption of the PLANET Code is made up by reading binary black bands: short (= 0) and long (= 1). The binary data obtained is then translated via the coding table.

Example: A message 1 11100 11010 11001 1 translates to 123

PLANET checksum is missing in this example

How to calculate the checksum characters?

The PLANET code uses a checksum such that the sum of all digits is a multiple of 10. To this end, an additional digit $ X $ completes the barcode.

To calculate it, add all the digits of the barcode and keep the digit of units $ N $. The checksum is $ X = (10 - N) \mod 10 $.

Example: The number 987 has for sum of digits $ 9 + 8 + 7 = 24 $, the unit digit is $ 4 $. The checksum is $ X = 10 - 4 \mod 10 \equiv 6 $.

How to recognize PLANET Barcode?

The PLANET barcode has a graphic form based on long and short vertical bars/lines.

The PLANET barcode begins and ends with a long pipe/bar.

Each character is coded by a group of 5 bits composed of 3 long bars and 2 short bars.

The PLANET barcode has a variable length but most often 12 or 14 characters.

A PLANET barcode has a binary length equal to 2 modulo 5 (its unit digit is 2 or 7) because all the other characters are on 5 bits and 2 bits 1 are added at the beginning and at the end.

Source code

dCode retains ownership of the source code of the script Barcode PLANET online. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, Matlab, etc.) which dCode owns rights will not be released for free. To download the online Barcode PLANET script for offline use on PC, iPhone or Android, ask for price quote on contact page !

Questions / Comments

Thanks to your feedback and relevant comments, dCode has developped the best Barcode PLANET tool, so feel free to write! Thank you !


Source : https://www.dcode.fr/barcode-planet
© 2020 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.
Feedback