Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/raisinten/huffcrypt

Huffman encryption based file compressor
https://github.com/raisinten/huffcrypt

compression decompression decryption encryption huffman-coding

Last synced: about 5 hours ago
JSON representation

Huffman encryption based file compressor

Awesome Lists containing this project

README

        

# HuffCrypt

## PURPOSE OF APPLICATION
This application demonstrates the compression/decompression of files with strictly ASCII characters via Huffman encryption/decompression technique.

## Compilation and Setup

### For Windows:
gcc -std=c99 -Ofast .\src\compressor\* .\src\decompressor\* .\src\huffcrypt.c -o HuffCrypt

### For Linux:
gcc -std=c99 -Ofast ./src/compressor/* ./src/decompressor/* ./src/huffcrypt.c -o HuffCrypt

[Note: Add the current directory to the PATH in environment variables.]

## USAGE

HuffCrypt [-c | -d] [input file] [output file]

-c Compressor mode. This mode is used for compressing
an input file with only ASCII characters into a binary file.

-d Decompressor mode. This mode is used for decompressing
a prior compressed input binary file into the original file.