Skip to content

Simple entropy calculator for plaintext and binary files in c++.

Notifications You must be signed in to change notification settings

AutomaticHourglass/EntropyCalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EntropyCalculator

Simple entropy calculator for plaintext and binary files in c++.

Started as a class project on of of my PhD classes.

Program works as follows:

File Entropy Calculator v1.0 Author: Unsal Gokdag

Counts occuring of each letter and calculates the entropy via: H = -P(A)i(A) where:

P(A) is probablity of symbol i(A) is information held by symbol = log2(A)

Update: Calculation of 1-step Markov Proecess is added.

Usage: ''' ./entropycalc (binary) ''' binary makes program to calculate entropy of all ascii values.

Example: ''' ./entropycalc Feeding.txt ./entropycalc 'head.bmp.zip' binary ''' Enjoy!

About

Simple entropy calculator for plaintext and binary files in c++.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages