ποΈ Huffman Code π
π.
This is a homework about Digital Certificates and is part of course section βEntropyβ.
π Summary
π Description
Write two programs:
- One program to read a file and calculate entropy (Shannon) of file;
- One program to read a file and generate a compressed file using Huffman codification.
π οΈ Instructions
Make this following experiment:
- Choose at least 4 (four) files of different types;
- Compress they using Huffman.
- Calculate the entropy of original files of the compressed ones;
The 4 (four) files would be:
- HTML Document in Natural Language;
- Compressed ZIP file;
- Cyphered File (with, like, PGP);
- Other file type is of your choice.
π Write a small report
The Report would compare the entropy of the files, before and after compress.
π How to run this code
ποΈ License
π₯ Author