
Security News
New CVE Forecasting Tool Predicts 47,000 Disclosures in 2025
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
A command line tool to calculate hashes of directory trees using various hash algorithms.
A command line tool to calculate hash of directory trees using various hash algorithms.
To install, run the following command in your terminal:
pip3 install hashdir
You may want to install hashdir through Termux or similar on android to check hashes of directories on your android system.
On some systems, you may have to reinstall python to get development libraries, and install libcrypt before installing hashdir for the installation to work:
apt install python
apt install libcrypt
Otherwise, installation on android is the same as others.
pip3 install hashdir
usage: hashdir [-h] [-a {md5,sha1,imohash}] [--log-level {error,info,debug}]
[-v]
[directory]
A command line tool to calculate hashes of directory trees using various hash
algorithms.
positional arguments:
directory
optional arguments:
-h, --help show this help message and exit
-a {md5,sha1,imohash}, --algorithm {md5,sha1,imohash}
warning: imohash is a constant-time hashing library,
and while being fast for large files, it produces
approximate results.
--log-level {error,info,debug}
-v, --version show program's version number and exit
Hashdir performs the following steps;
Contributions are welcome! Please use black for formatting code before sending a PR.
FAQs
A command line tool to calculate hashes of directory trees using various hash algorithms.
We found that hashdir demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.