Skip to content

PyHashKit v0.2.0

Latest

Choose a tag to compare

@Fmasterpro27 Fmasterpro27 released this 09 Jun 16:45
· 3 commits to main since this release

PyHashKit v0.2.0

This release introduces CLI support, algorithm discovery, and improved error handling.

New Features

  • Added Command Line Interface (CLI)

  • Added pyhashkit text command

  • Added pyhashkit file command

  • Added pyhashkit algorithms command

  • Added pyhashkit commands command

  • Added version flags:

    • -v
    • -V
    • --version
  • Added algorithms() function to list available hashing algorithms

Improvements

  • Improved error handling for invalid algorithms
  • Improved error handling for missing files
  • Improved CLI help messages
  • Updated documentation and README

Notes

  • SHAKE algorithms (shake_128 and shake_256) are currently not supported
  • Python 3.8+ supported
  • No external dependencies required

Installation

pip install -U PyHashKit

Examples

Hash text:

pyhashkit text "Hello World"

Hash a file:

pyhashkit file example.txt

List available algorithms:

pyhashkit algorithms

Show version:

pyhashkit --version

Python API

from pyhashkit import hash_text, hash_file

print(hash_text("Hello World"))
print(hash_file("example.txt"))