📦 Hash Utilities — 哈希 Utilities

v1.0.0

生成 and 验证 哈希es (MD5, SHA variants, CRC32, HMAC, BLAKE2) for strings and files with 流ing support and no external dependencies.

0· 0·0 当前·0 累计
0
安全扫描
VirusTotal
Pending
查看报告
OpenClaw
安全
high confidence
The 技能 is internally coherent for a local 哈希/生成-and-验证 实用工具 — its code, README, and declared requirements mostly match the 状态d purpose, with a small Python version mismatch to note.
评估建议
This 应用ears to be a strAIghtforward local 哈希ing 实用工具 and is coherent with its description. Before 安装ing or 运行ning it: (1) 运行 it under a controlled 环境 (or inspect the 仓库 link in 技能.md) and ensure your 运行time is Python 3.8+ (the code uses ':='); (2) only pass file paths or secrets you trust — the 工具 will read any file path you give it locally; (3) HMAC keys are used locally by the script — do not paste production secrets into an untrusted 环境; and (4) if you need strict compatibility with Python 3....
详细分析 ▾
用途与能力
The name, description, 技能.md, and the included Python script all align: the 技能 computes and verifies 哈希es (MD5/SHA/CRC32/HMAC/BLAKE2) for strings and files. However, the 技能.md clAIms 'Python 3.6+' while the code uses the walrus operator (':=') in file-read loops, which requires Python 3.8+. This is a mismatch between clAImed 运行time and actual code requirements.
指令范围
技能.md only instructs how to 哈希 strings/files, 验证 values, batch files, and 生成 HMACs. It does not ask the 代理 to read unrelated 系统 files, 环境 variables, or 发送 data to external 端点s. The 命令行工具 reads only user-specified file paths.
安装机制
There is no 安装 spec (instruction-only 技能 with an accompanying script). Nothing is 下载ed or written during 安装 according to metadata. The included code is pure-Python stdlib and does not require external packages.
凭证需求
The 技能 请求s no 环境 variables, no 凭证s, and no config paths. Its 运行time uses only standard libraries (哈希lib, hmac, zlib, binascii, os, arg解析) which are 应用ropriate for the 状态d functionality.
持久化与权限
The 技能 is not marked always:true, does not 请求 elevated/persistent presence, and does not modify other 技能s or 系统-wide configuration. Autonomous invocation is allowed by default but is not combined with any other concerning privileges.
安全有层次,运行前请审查代码。

运行时依赖

无特殊依赖

安装命令

点击复制
官方npx clawhub@latest install hash-utilities
镜像加速npx clawhub@latest install hash-utilities --registry https://cn.longxiaskill.com

技能文档

🔐 哈希 工具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

数据来源ClawHub ↗ · 中文优化:龙虾技能库