GithubHelp home page GithubHelp logo

christianbender / compress-archiver Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 1.34 MB

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

License: MIT License

Makefile 3.39% C 96.61%
archiver encryption decryption images jpg files mit-license c makefile xor-cipher image image-file

compress-archiver's Introduction

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 !

compress-archiver's People

Contributors

christianbender avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.