by Rupan

Rupan / paperbak

Back up your files on ordinary paper in the form of oversized bitmaps

202 Stars 12 Forks Last release: over 7 years ago (v1.10) 27 Commits 1 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:


This goal of this project is to:

1) document the process by which Paperbak is built 2) fix its crypto implementation

The upstream source of this application is:

A copy of the homepage is mirrored in this repository as upstream.html.


bzip2, a compression library, is used with this project. Its source code can be downloaded here:

The library included in this repository, bzip2.lib, can be built as follows:

bcc32 -Hc -w -Vx -Ve -C -ff -X- -a8 -b -d -k- -vi -y -v -c compress.c crctable.c decompress.c bzlib.c blocksort.c huffman.c randtable.c tlib bzip2.lib /C +compress+crctable+decompress+bzlib+blocksort+huffman+randtable


This directory contains Brian Gladman's AES and SHA code, including HMAC and key derivation routines. The sources were built as follows:

in AES (from First, edit aesx86v1.asm and add 'use32' to the .text section header (otherwise 16-bit code is generated). nasm -f obj -F borland aesx86v1.asm bcc32 -Hc -w -Vx -Ve -C -ff -X- -a8 -b -d -k- -vi -y -v -c -DASMX86V1C -DLITTLEENDIAN aeskey.c aestab.c aesmodes.c

in SHA (from bcc32 -Hc -w -Vx -Ve -C -ff -X- -a8 -b -d -k- -vi -y -v -c -DLITTLEENDIAN -DUSESHA256 hmac.c pwd2key.c sha2.c

then put them all into a library: tlib crypto.lib /C +aeskey+aestab+aesx86v1+hmac+pwd2key+sha2+aes_modes


1) Download the free Embarcadero C++ Compiler 5.5 from here (scroll down):

2) Install it, then review C:\Borland\BCC55\readme.txt. 3) Create bcc32.cfg and ilink32.cfg as directed. 4) Edit the system path so that it includes the Borland binaries. In regedit, navigate to:

HKEYLOCALMACHINE -> System -> CurrentControlSet -> Control -> Session Manager -> Environment -> PATH Now prepend the path C:\Borland\BCC55\Bin

5) Place this source code in a path without spaces (i.e. C:\paperbak), then build it:

make -f paperbak.mak


1.00 - First public release 1.10 - Fix crypto implementation Switch to precompiled libraries

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.