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