Skip to main content

Hashsmith CLI for encoding, decoding, hashing, and cracking

Project description

Hashsmith

Hashsmith is a terminal-first toolkit for encoding, decoding, hashing, cracking, and identification.

The project is now Go-first:

  • Core CLI is implemented in Go.
  • Python package is a thin launcher kept for PyPI distribution compatibility.
  • npm package builds and runs the Go binary.

Installation

Homebrew

brew tap s4l1hs/hashsmith
brew install hashsmith

PyPI

pip install hashsmith-cli

Notes for PyPI:

  • Python 3.9+ is required for the launcher.
  • Go 1.21+ is required at runtime on first execution (the launcher builds the local binary).

npm

npm install -g hashsmith-cli

Notes for npm:

  • Go 1.21+ is required at install time (postinstall builds the binary).

Direct Go Build

cd hashsmith/go_hashsmith
go build -o ../../hashsmith ./cmd/hashsmith
cd ../..
./hashsmith --help

Quick Start

hashsmith encode -t base64 -i "hello"
hashsmith decode -t base64 -i "aGVsbG8="
hashsmith hash -t sha256 -i "secret"
hashsmith crack -t md5 -H 5f4dcc3b5aa765d61d8327deb882cf99 -M dict -w wordlists/common.txt
hashsmith identify -i "aGVsbG8="

Shortcut:

hashsmith -id -i "aGVsbG8="

Commands

  • encode
  • decode
  • hash
  • crack
  • identify

Use help:

hashsmith --help

Security Notice

Hashsmith is for educational and authorized security testing only.

License

See 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

hashsmith_cli-1.2.0.tar.gz (47.9 kB view details)

Uploaded Source

Built Distribution

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

hashsmith_cli-1.2.0-py3-none-any.whl (55.1 kB view details)

Uploaded Python 3

File details

Details for the file hashsmith_cli-1.2.0.tar.gz.

File metadata

  • Download URL: hashsmith_cli-1.2.0.tar.gz
  • Upload date:
  • Size: 47.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.18

File hashes

Hashes for hashsmith_cli-1.2.0.tar.gz
Algorithm Hash digest
SHA256 a4afd426b63f4a0efeb38596ba79d02d107a0a87f835e6fb0ceb3b839b31ce19
MD5 2a4dca88e9b1bb31c603a699570029b7
BLAKE2b-256 540809b47031f2281bd0ead69b52265278b08b855298a536e3abf77c81c01971

See more details on using hashes here.

File details

Details for the file hashsmith_cli-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: hashsmith_cli-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 55.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.18

File hashes

Hashes for hashsmith_cli-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 992a94776b2d8d179b77a78ee7d7dc6d38080ca63d29231c9d9eac79576aba88
MD5 e14e64a432d75393244457fd43288c1b
BLAKE2b-256 f332c87227e71142f399468cd44047772ff41a6fed03ce1d91beceb3fa2da53d

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