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, 8 commands are available:
- getmd5
- getsha1
- getsha256
- getsha512
- md5 (alias for getmd5)
- sha1 (alias for getsha1)
- sha256 (alias for getsha256)
- sha512 (alias for getsha512)
$ 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
$ 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-0.8.tar.gz
(6.3 kB
view details)
Built Distribution
gethash-0.8-py3-none-any.whl
(6.8 kB
view details)
File details
Details for the file gethash-0.8.tar.gz
.
File metadata
- Download URL: gethash-0.8.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e2e9201074f0582a38daf4bc7c8b2c63ed7f82e14c5a236eadb3fc23886fab8 |
|
MD5 | 6e4ff3c61055fa0d2cb48c67954adf9b |
|
BLAKE2b-256 | ed6897d44398dcd081ad30c4ce50b45e828ef15f408ddbb31935e637cc31b100 |
File details
Details for the file gethash-0.8-py3-none-any.whl
.
File metadata
- Download URL: gethash-0.8-py3-none-any.whl
- Upload date:
- Size: 6.8 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/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d139e19f069546818a03a2fc5e3b8470081e29b332e344b194f849d49a10296 |
|
MD5 | 23c6ab81d03335611349e25ef136229f |
|
BLAKE2b-256 | 92c0989758399daea7aaa039b82a4428f55a3027c19c2f43578c0026b841e5cc |