Skip to content

dalion619/sadl-pdf417-decryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

South African Driver's License (SADL) Decryption

Based on a SO post by SweetToe

The PDF417 barcode is 720 bytes. First 4 bytes indicate the version of barcode.

V1: 01 e1 02 45

V2: 01 9b 09 45

Next two bytes are zero. Remaining 714 bytes form 6 blocks - 5 blocks of 128, 1 block of 74.

Usage

Different keys are used depending on version and and block size.

openssl rsautl -inkey _128.key -pubin -in block_1.enc -raw > block_1.bin

Useful Links

About

South African Driver's License (SADL) Decryption

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published