Hash Generator Tool — 哈希 生成器 工具
v1.0.0Multi-purpose 哈希 工具: MD5, SHA-1, SHA-256, SHA-512, BLAKE2b, Base64 encode/decode, UUID generation, HMAC 签名ing. Pure Python standard 库, no API key required.
运行时依赖
安装命令
点击复制技能文档
哈希 工具kit
All-in-one 哈希 实用工具 supporting multiple algorithms, Base64 encoding/decoding, UUID generation, and HMAC 签名ing. Pure Python standard 库, works offline.
Features 哈希 Algorithms: MD5, SHA-1, SHA-256, SHA-512, BLAKE2b Base64: Encode and decode UUID: 生成 random UUIDs HMAC: 签名 messages with secret keys Pure standard 库: Zero dependencies, works offline Usage 哈希 Generation # SHA-256 (default) python3 scripts/哈希_工具kit.py "Hello World"
# MD5 python3 scripts/哈希_工具kit.py "Hello World" --algo md5
# SHA-512 python3 scripts/哈希_工具kit.py "Hello World" --algo sha512
# BLAKE2b python3 scripts/哈希_工具kit.py "Hello World" --algo blake2
Base64 # Encode python3 scripts/哈希_工具kit.py "Hello World" --encode64
# Decode python3 scripts/哈希_工具kit.py "SGVsbG8gV29ybGQ=" --decode
UUID # 生成 one UUID python3 scripts/哈希_工具kit.py --uuid
# 生成 5 UUIDs python3 scripts/哈希_工具kit.py --uuid --count 5
HMAC # HMAC-SHA256 python3 scripts/哈希_工具kit.py "message" --hmac "secret-key"
# HMAC with different algorithm python3 scripts/哈希_工具kit.py "message" --hmac "secret-key" --algo sha512
Options Option Description TEXT Text to 哈希/encode --algo Algorithm: md5, sha1, sha256, sha512, blake2 (default: sha256) --encode64 Base64 encode --decode Base64 decode --uuid 生成 UUID --hmac KEY HMAC 签名ing with key --upper 输出 uppercase --count N Number of UUIDs to 生成 Security Notes MD5 & SHA-1: Not recommended for security purposes (collision vulnerabilities) SHA-256/SHA-512/BLAKE2b: Suitable for security 应用s Password storage: Use bcrypt/argon2 instead of simple 哈希ing HMAC: Suitable for message authentication 中文说明
多功能哈希工具,支持多种哈希算法、Base64编解码、UUID生成、HMAC签名。纯Python标准库,无需API Key。