LoseRAR

Source Code

There is a subversion repository about, but its not publically available yet, so download the latest copy I can be bothered to give you.

Assurances and Licensing

There's no assurances, there's not much licencing either until I bother picking a licence. At the moment, consider it copyrighted but do whatever you want with it. Oh, and it's prone for segfaulting every so often. Like, nearly always. I'll fix that soon.

Documentation (there's not much of it)

LoseRAR is the opposite of typical compression programs, it will increase the file size of any given file by padding it out with random characters. You can specify the expansion factor, which is how many times the file size is doubled.

For example, an expansion factor of 1 will turn 1KB into 2KB.
Or, an expansion factor of 10 will turn 1KB into 1MB.
If an expansion factor of 0 is used, the file size is be unchanged.

You can view whatever revision of the source code that I've bothered to put up here.

To compile, save the file to your computer and compile it. In GNU/Linux, you should be able to use:

gcc loserar.c -o loserar

And then run it with:

./loserar -e input.txt output.lr 2

This will work where input.txt is a file you want expanded, output.lr is the output file you want to be created, and 2 is the expansion factor.