Because how isn't there already one (in my favourite package manager)?
Prerequisites:
- An up-to-date Rust toolchain (2024 edition).
Installation steps:
- Review the source code and dependencies for backdoors, malware and zero-day exploits.
- Clone the repo.
- Run
cargo install --path .to installentropylocally for the current user. - ???
- Profit!
See entropy --help.
-roption to recursive traverse directories--algorithmoption to specify other algorithms besides Shannon's entropy--pretty-printoption to print a nice table with the results and explanations