Command line interface to the hashlib library.
src/hasher | ||
.gitignore | ||
LICENSE | ||
pyproject.toml | ||
README.md | ||
requirements.txt |
Hasher
Command line interface to the hashlib library.
Installation
Install hasher from PyPI.
pip install hasher-cnml
Usage
Create a checksum (defaults to MD5) of the a sample file using:
python -m hasher file_to_hash.txt
Or instead specify the hash algorithm directly (all algorithms from hashlib that are available locally)
python -m hasher -a sha1 file_to_hash.txt
View the usage information:
python -m hasher -h