Skip to main content

Command-line utility for generating, verifying, and detecting cryptographic hashes.

Project description

HashTool

A lightweight command-line utility for generating, verifying, and detecting cryptographic hashes for text and files.

Features

  • Generate MD5, SHA-1, SHA-256, and SHA-512 hashes
  • Hash text input
  • Hash files
  • Verify hashes
  • Detect possible hash algorithms
  • Select one or multiple hashing algorithms
  • Rich terminal output
  • Built with Typer

Installation

pip install hashtool

Usage

Hash text

hashtool -t "Hello"

Hash file

hashtool -f sample.txt

Hash using a specific algorithm

hashtool -t "Hello" -a sha256

Hash using multiple algorithms

hashtool -t "Hello" -a md5,sha256

Verify a hash

hashtool -t "Hello" --verify 185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969

Detect possible algorithm

hashtool --detect 185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969

Supported Algorithms

  • MD5
  • SHA-1
  • SHA-256
  • SHA-512

Note: MD5 and SHA-1 are supported for compatibility and educational purposes. For modern security applications, use SHA-256 or SHA-512 instead.

Technologies

  • Python
  • Typer
  • Rich
  • hashlib

License

MIT License

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

hashtool-1.0.1.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hashtool-1.0.1-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file hashtool-1.0.1.tar.gz.

File metadata

  • Download URL: hashtool-1.0.1.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for hashtool-1.0.1.tar.gz
Algorithm Hash digest
SHA256 25589a78bfa8949ef5c0cc97ca578a1565d407cfd14a4ae8f2f98fba1db11ff3
MD5 299278ee84413d8992fb920424acb214
BLAKE2b-256 f2ae6864ae901cb22311474434186d16816ec35befa8b98e36ac59b73ba3f687

See more details on using hashes here.

File details

Details for the file hashtool-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: hashtool-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for hashtool-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e67f1fce0db7c23ddee87bdd73a13d412da500e24d35452fcee6de4c60e6c238
MD5 1a2b351d2a31837fd6ee66aea7d3b729
BLAKE2b-256 437e06e2226ef84b15f0d13c0b2f1f7568f10d03664555db5a770857ffe51ced

See more details on using hashes here.

Supported by

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