Skip to content

Creates printable PNGs that can be used to export data to a paper and later scanned in again.

License

Notifications You must be signed in to change notification settings

jimktrains/paperbin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

paperbin

NOTE: Decoding is a work-in-progress

Creates printable PNGs that can be used to export data to a paper and later scanned in again.

The application reads from stdin and creates blocks of data. Every 2 blocks are XORed to create a 3rd block (if there is only one block remaining, it is duplicated twice). These blocks are then converted into base32 with some metadata.

All of the blocks are then sorted into 3 different groups. Only data from any two groups for each set of blocks is needed to regenerate the original message.

Lastly, the barcodes in each group are converted to pages of barcodes.

These barcodes can then be scanned in and reässembled later to create the original message (Work in progress).

Example

echo "TESTING" | python3 paperbin.py --name test

Example (Don't do this until you've read the code and confirm I'm not sending it somewhere. )

gpg --export-secret-key | python3 paperbin.py --name secret-key

About

Creates printable PNGs that can be used to export data to a paper and later scanned in again.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages