A command-line tools that can generate or check hash values.
Project description
gethash
A command-line tools that can generate or check hash values.
Installation
Require Python 3.6+.
pip install -U gethash
or
pip3 install -U gethash
Usage
After installation, 11 commands are available:
- md2
- md4
- md5
- ripemd160
- sha1
- sha256
- sha512
- sha3-256
- sha3-512
- blake2b
- blake2s
Generate hash values
$ ls -l
total 296
-rw-r--r-- 1 User 197610 68074 Jun 27 10:43 001.zip
-rw-r--r-- 1 User 197610 126717 Jun 27 10:43 002.zip
-rw-r--r-- 1 User 197610 103064 Jun 27 10:44 003.zip
$ sha1 *.zip
7701133eb84b567362fbf1b9e3883d7620ee8ada *001.zip
0d6c6cb6908064139f419c1b528f99142a1f2a49 *002.zip
10e2c0d8aa85add2ba495393f7f7f0b0baaf34a6 *003.zip
$ ls -l
total 299
-rw-r--r-- 1 User 197610 68074 Jun 27 10:43 001.zip
-rw-r--r-- 1 User 197610 51 Jun 27 10:44 001.zip.sha1
-rw-r--r-- 1 User 197610 126717 Jun 27 10:43 002.zip
-rw-r--r-- 1 User 197610 51 Jun 27 10:44 002.zip.sha1
-rw-r--r-- 1 User 197610 103064 Jun 27 10:44 003.zip
-rw-r--r-- 1 User 197610 51 Jun 27 10:44 003.zip.sha1
Check hash values
$ cat *.sha1
7701133eb84b567362fbf1b9e3883d7620ee8ada *001.zip
0d6c6cb6908064139f419c1b528f99142a1f2a49 *002.zip
10e2c0d8aa85add2ba495393f7f7f0b0baaf34a6 *003.zip
$ sha1 -c *.sha1
[SUCCESS] 001.zip
[SUCCESS] 002.zip
[SUCCESS] 003.zip
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gethash-2.1.tar.gz
(8.6 kB
view details)
Built Distribution
gethash-2.1-py3-none-any.whl
(10.9 kB
view details)
File details
Details for the file gethash-2.1.tar.gz
.
File metadata
- Download URL: gethash-2.1.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da47e4847167a1dfdfb8fdbe4d983afb3d999fa6c11fd20bd568672a26a73c56 |
|
MD5 | cc2a92d64b60dece130ad8f56f2aee02 |
|
BLAKE2b-256 | 32c59ca02e214141350e630cacab673453b4cca9e74470f4ebe8b5a6eafacd17 |
File details
Details for the file gethash-2.1-py3-none-any.whl
.
File metadata
- Download URL: gethash-2.1-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05f01b45d46c420fd8855e8439c027fab13aa856ab036027029acc38424ab9f5 |
|
MD5 | ffbffbaedc090407d6058229652c5f61 |
|
BLAKE2b-256 | a9c0f186776ab6284dd6faacf123d6511152262290d9859fba1b2d734ab8ed9a |