Skip to content

thesleort/Shufflesqueeze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shufflesqueeze

This is a simple compression tool made using the Huffman Tree algorithm.

It can be used in two ways. The first is simple file compression. Here it simply compresses the file and stores a decompression key in the same file. The second method saves the decompression key in a separate file. This means that one cannot decompress the file without having the key-file.

#How to:

Simple compression:
java -jar Shufflesqueeze.jar -c inputfile outputfile(optional)
Simple decompression:
java -jar Shufflesqueeze.jar -dc inputfile.hzip outputfile(optional)

Encryption:
java -jar Shufflesqueeze.jar -e inputfile outputfile(optional)
Decryption:
java -jar Shufflesqueeze.jar -d inputfile.hec outputfile(optional) inputfile.key


I encourage everyone to do whatever they want with the code. The program was a Computer Science project at University of Southern Denmark. I have since improved the functionality a little, but the core program is still the same.