Releases: Fmasterpro27/PyHashKit
Releases · Fmasterpro27/PyHashKit
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"))