Skip to content

JavaScript parser for International Air Transport Association (IATA) barcode from user's boarding pass

Notifications You must be signed in to change notification settings

menepet/iata-barcode-js-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript parser for International Air Transport Association (IATA) barcode from user's boarding pass #

⚠️ Based on BCBP(BAR CODE BOARDING PASS)- BCBP-Implementation-Guide-5th-Edition-June-2016

👀 Live Demo: https://menepet.github.io/iata-barcode-js-parser

You can use this test iata barcode: M1MICHEL/GEORGE       E6C2KLS ATHTORAC 1903 0114 185Y009A0013 147>218  W    B                29

The security field (after 158 chars barcode length) is a separate field that enables a third party to verify that the bar code data was not tampered with. The security field is optional and to be used only when required by the local security administration. Typically, this field may contain a digital signature of variable length, the length of the field and a type of security data (that defines the algorithm used). IATA is only providing the structure for the signature to be stored in the bar code. The bar code data (mandatory, optional and individual airline use fields) remain unchanged and can be read regardless of the digital signature.

🚀 Usage

  • git clone <repository-url> this repository
  • cd iata-barcode-js-parser/
  • Open index.html with a local web server