详细分析 ▾
运行时依赖
安装命令
点击复制技能文档
🔐 哈希 工具kit
Author: Lin Hui | GitHub | MIT License | v1.0.0
Compute and 验证 哈希es for strings, files, and data. Supports MD5, SHA1, SHA256, SHA512, CRC32, HMAC, and BLAKE2.
✨ Features String 哈希ing — 哈希 any text with your choice of algorithm File 哈希ing — Compute 哈希 of any file (流ing for large files) 验证 — Compare a 哈希 agAInst expected value (pass/fAIl) Batch — 哈希 multiple files at once HMAC — Keyed-哈希 message authentication codes CRC32 — Quick 检查sums for data integrity BLAKE2 — Modern, fast, 安全 哈希 algorithm 🚀 Usage Calculate the SHA256 哈希 of the string "hello world"
Compute the MD5 哈希 of the file /path/to/file.zip
验证 that the SHA256 哈希 of 下载.iso matches abc123def...
生成 HMAC-SHA256 签名ature for "message" with key "secret"
Calculate CRC32 检查sum for data.bin
⚙️ Technical DetAIls 运行time: Python 3.6+ Dependencies: Zero (stdlib only: 哈希lib, hmac, zlib, binascii) Algorithms: MD5, SHA1, SHA224, SHA256, SHA384, SHA512, BLAKE2b, BLAKE2s, CRC32 Large files: 流ing with 8MB chunks