Skip to content

This project is a simple archiver for images (jpg-files). With a simple encryption and decryption function.

License

Notifications You must be signed in to change notification settings

christianbender/compress-archiver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

compress - Archiver

This project is a simple archiver for images (jpg-files). The images can be writed in a single file. Or can be encrypt or decrypt. The program used the XOR-cipher

warning: The encrypt and decrypt algorithm isn't save! Keys can be only between 0 and 255 !

Build

Dependencies

  • gcc --- C-compiler

Note: You can change the standard C-compiler in the Makefile. You simple changed the variable CC in the Makefile.

Build the program

For building the project type in the console:

$ make

After that you get the executable compress.

Tidy up

For cleaning type in the console

$ make clean

Using

You fill find some example images in the directory images. (CC0 license)

For create a simple archive:

$ ./compress -c images/baum1.jpg images/baum2.jpg  

You get a file called out.

For extracting the file out:

$ ./compress -e out 

For encryption and decryption

For encrypt a simple archive:

$ ./compress -en KEY images/baum1.jpg images/baum2.jpg  
  • KEY can be a value between 0 up to 255.

For decrypt a simple archive:

$ ./compress -de KEY out 

warning: The encrypt and decrypt algorithm isn't save! Keys can be only between 0 and 255 !

About

This project is a simple archiver for images (jpg-files). With a simple encryption and decryption function.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published