Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gethash-1.3.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

gethash-1.3-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file gethash-1.3.tar.gz.

File metadata

  • Download URL: gethash-1.3.tar.gz
  • Upload date:
  • Size: 7.1 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.48.0 CPython/3.8.3

File hashes

Hashes for gethash-1.3.tar.gz
Algorithm Hash digest
SHA256 ba94b394c304a1756411c1a1d1ebdafa590207432ca60753b3b9c69d47fe163f
MD5 7b746d184e4ed3e868775be759dddaa5
BLAKE2b-256 80dc54d3db4001340a1412f99000e7c3417430eb59837f59ecd699cb01d4e38c

See more details on using hashes here.

File details

Details for the file gethash-1.3-py3-none-any.whl.

File metadata

  • Download URL: gethash-1.3-py3-none-any.whl
  • Upload date:
  • Size: 7.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/46.1.3 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for gethash-1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1302e9a7fda385caa9746eb9f84e47f6f74e5644aed81afcb499fa652efb8739
MD5 44a4ef8cde493d07d6cba2aff4734e40
BLAKE2b-256 5c913ba66e16e8ffdd6f58efab8a0a2a0d6184613d3302fc078ba85d6a79c4aa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page