Releases: Fmasterpro27/PyHashKit
Release list
PyHashKit v0.2.1
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_sizeparameter tohash_text() -
Added
digest_sizeparameter tohash_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_sizeis ignored for non-SHAKE algorithms- Python 3.8+ supported
- No external dependencies required
Installation
pip install -U PyHashKitExamples
Hash text using SHAKE-128:
pyhashkit text "Hello World" -a shake_128 -d 64Hash a file using SHAKE-256:
pyhashkit file example.txt -a shake_256 -d 128List available algorithms:
pyhashkit algorithmsShow version:
pyhashkit --versionPython 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
PyHashKit v0.2.0
This release introduces CLI support, algorithm discovery, and improved error handling.
New Features
-
Added Command Line Interface (CLI)
-
Added
pyhashkit textcommand -
Added
pyhashkit filecommand -
Added
pyhashkit algorithmscommand -
Added
pyhashkit commandscommand -
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_128andshake_256) are currently not supported - Python 3.8+ supported
- No external dependencies required
Installation
pip install -U PyHashKitExamples
Hash text:
pyhashkit text "Hello World"Hash a file:
pyhashkit file example.txtList available algorithms:
pyhashkit algorithmsShow version:
pyhashkit --versionPython API
from pyhashkit import hash_text, hash_file
print(hash_text("Hello World"))
print(hash_file("example.txt"))PyHashKit v0.1.0
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 PyHashKitExample
from pyhashkit import hash_text, hash_file
print(hash_text("Hello World"))
print(hash_file("example.txt"))