Skip to content

Martsim/crypto_seminar_2017_fall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code for report on Asymmetric Numeral Systems

Do note, that the Python implementation could contain some misses and has been tested to work in rather small code block lengths.

The Java implementation uses a double check. After encoding, it checks that decoding would give the original text. Otherwise would throw a RuntimeException.

Huffman would fail when the dictionary contains only one element. Therefore, the encoding function, which creates a dictionary based on the input would fail in that case.

See Java use guide for information on how to run the Java code.

See Python use guide for information on how to run the Python code.

Huffman code implementation is based on huffman.py by M. Reid.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published