← 返回 Skills 市场
darbling

Hash Utilities

作者 darbling · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
53
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install hash-utilities
功能描述
Generate and verify hashes (MD5, SHA variants, CRC32, HMAC, BLAKE2) for strings and files with streaming support and no external dependencies.
使用说明 (SKILL.md)

🔐 Hash Toolkit

Author: Lin Hui | GitHub | MIT License | v1.0.0

Compute and verify hashes for strings, files, and data. Supports MD5, SHA1, SHA256, SHA512, CRC32, HMAC, and BLAKE2.

✨ Features

  • String hashing — Hash any text with your choice of algorithm
  • File hashing — Compute hash of any file (streaming for large files)
  • Verify — Compare a hash against expected value (pass/fail)
  • Batch — Hash multiple files at once
  • HMAC — Keyed-hash message authentication codes
  • CRC32 — Quick checksums for data integrity
  • BLAKE2 — Modern, fast, secure hash algorithm

🚀 Usage

Calculate the SHA256 hash of the string "hello world"
Compute the MD5 hash of the file /path/to/file.zip
Verify that the SHA256 hash of download.iso matches abc123def...
Generate HMAC-SHA256 signature for "message" with key "secret"
Calculate CRC32 checksum for data.bin

⚙️ Technical Details

  • Runtime: Python 3.6+
  • Dependencies: Zero (stdlib only: hashlib, hmac, zlib, binascii)
  • Algorithms: MD5, SHA1, SHA224, SHA256, SHA384, SHA512, BLAKE2b, BLAKE2s, CRC32
  • Large files: Streaming with 8MB chunks
安全使用建议
This appears to be a straightforward local hashing utility and is coherent with its description. Before installing or running it: (1) run it under a controlled environment (or inspect the repository link in SKILL.md) and ensure your runtime is Python 3.8+ (the code uses ':='); (2) only pass file paths or secrets you trust — the tool 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 environment; and (4) if you need strict compatibility with Python 3.6–3.7, request or adapt a version of the code that avoids the walrus operator.
功能分析
Type: OpenClaw Skill Name: hash-utilities Version: 1.0.0 The 'hash-utilities' skill is a standard implementation of a hashing and integrity verification tool using Python's built-in libraries (hashlib, hmac, zlib). The code in scripts/hash_tool.py follows best practices, such as using hmac.compare_digest for secure comparisons and processing files in chunks to handle large data efficiently, with no evidence of malicious intent or risky behaviors.
能力评估
Purpose & Capability
The name, description, SKILL.md, and the included Python script all align: the skill computes and verifies hashes (MD5/SHA/CRC32/HMAC/BLAKE2) for strings and files. However, the SKILL.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 runtime and actual code requirements.
Instruction Scope
SKILL.md only instructs how to hash strings/files, verify values, batch files, and generate HMACs. It does not ask the agent to read unrelated system files, environment variables, or send data to external endpoints. The CLI reads only user-specified file paths.
Install Mechanism
There is no install spec (instruction-only skill with an accompanying script). Nothing is downloaded or written during install according to metadata. The included code is pure-Python stdlib and does not require external packages.
Credentials
The skill requests no environment variables, no credentials, and no config paths. Its runtime uses only standard libraries (hashlib, hmac, zlib, binascii, os, argparse) which are appropriate for the stated functionality.
Persistence & Privilege
The skill is not marked always:true, does not request elevated/persistent presence, and does not modify other skills or system-wide configuration. Autonomous invocation is allowed by default but is not combined with any other concerning privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install hash-utilities
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /hash-utilities 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of hash-toolkit. - Generate and verify hashes for strings and files using multiple algorithms (MD5, SHA1, SHA256, SHA512, CRC32, HMAC, BLAKE2). - Supports file and batch hashing, verification, HMAC signatures, and CRC32 checksums. - Processes large files efficiently with streaming. - Pure Python implementation with zero external dependencies.
元数据
Slug hash-utilities
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Hash Utilities 是什么?

Generate and verify hashes (MD5, SHA variants, CRC32, HMAC, BLAKE2) for strings and files with streaming support and no external dependencies. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 53 次。

如何安装 Hash Utilities?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install hash-utilities」即可一键安装,无需额外配置。

Hash Utilities 是免费的吗?

是的,Hash Utilities 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Hash Utilities 支持哪些平台?

Hash Utilities 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Hash Utilities?

由 darbling(@darbling)开发并维护,当前版本 v1.0.0。

💬 留言讨论