/entropy

Calculate Shannon Entropy for a file

Primary LanguagePython

entropy

Calculate Shannon Entropy (min bits per byte-character)

original source: https://www.kennethghartman.com/calculate-file-entropy/

Requirements: Python 3.x

Usage: ./entropy.py <filename>+

Calculate Shannon Entropy (min bits per byte-character) of the middle 1MB

Usage: ./middle_entropy.py <filename>+