Skip to content

Releases: Fmasterpro27/PyHashKit

PyHashKit v0.2.1

Choose a tag to compare

@Fmasterpro27 Fmasterpro27 released this 20 Jun 14:23

PyHashKit v0.2.1

This release introduces SHAKE algorithm support, configurable digest sizes, expanded test coverage, and CLI enhancements.

New Features

  • Added SHAKE-128 (shake_128) support

  • Added SHAKE-256 (shake_256) support

  • Added digest_size parameter to hash_text()

  • Added digest_size parameter to hash_file()

  • Added CLI digest size option:

    • -d
    • --digest-size

Improvements

  • Added SHAKE algorithm support to the command line interface
  • Added validation and handling for variable-length SHAKE digests
  • Expanded unit test coverage for SHAKE-128 and SHAKE-256
  • Updated CLI help messages and examples
  • Updated documentation and README

Notes

  • SHAKE algorithms require a digest size to determine output length
  • Default SHAKE digest size is 32
  • digest_size is ignored for non-SHAKE algorithms
  • Python 3.8+ supported
  • No external dependencies required

Installation

pip install -U PyHashKit

Examples

Hash text using SHAKE-128:

pyhashkit text "Hello World" -a shake_128 -d 64

Hash a file using SHAKE-256:

pyhashkit file example.txt -a shake_256 -d 128

List available algorithms:

pyhashkit algorithms

Show version:

pyhashkit --version

Python API

from pyhashkit import hash_text, hash_file

print(
    hash_text(
        "Hello World",
        algorithm="shake_128",
        digest_size=64
    )
)

print(
    hash_file(
        "example.txt",
        algorithm="shake_256",
        digest_size=128
    )
)

PyHashKit v0.2.0

Choose a tag to compare

@Fmasterpro27 Fmasterpro27 released this 09 Jun 16:45

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"))

PyHashKit v0.1.0

Choose a tag to compare

@Fmasterpro27 Fmasterpro27 released this 07 Jun 17:42

PyHashKit v0.1.0

Initial public release of PyHashKit.

Features

  • Hash text strings
  • Hash files of any size
  • Support for all algorithms available through Python's hashlib
  • Type hints
  • Unit tests
  • Python 3.8+ support

Installation

pip install PyHashKit

Example

from pyhashkit import hash_text, hash_file

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