I need to read PDF417 barcode for Iraqi passport and extract the information from it. I scanned the barcode successfully and it contains two parts, first part is the MRZ and the second part is an encoded/encrypted text. so is there a way to know the method used to encode this text and how to decode it?
this is the encoded/encrypted part:
|Rk1SACAyMAAAAADcAAABYAF9AMUAxQEAAQA/IEBLAFt0AEBNAH98AEBZAJYAAEBjAMP8AEBmATj0AEB+AEmMAEClADEoAECLAC0oAECJAHEMAECqALQIAECLALgAAECoANsEAEB7AMiAAEB+AUF4AEDIAF0gAEDGAFCkAECzAFIgAECvAKeMAEDlAJQcAEDjAGQgAEDfAPUIAEDCAOOMAEC7AP8AAEDVAVEAAEDBAVCAAEDYASKAAIDFAT0AAED2AJqcAED8AJQcAEDsAQUEAEEVAPmUAEDqAVGEAA==|
Go to https://www.base64decode.org/, copy and paste your text and remove the bar
|symbol from the beginning and ending. Then selectISO-8859-6as the character set and click the DECODE button. You'd have to exclude certain characters from the result to piece together the actual contents.