360 Secure SkillHub
360 安全技能中心

Hash Tool

该 Skill 提供名为 hash-tool 的命令行哈希计算器,支持 md5、sha1、sha256、sha512 算法,可对指定文件或通过标准输入传入的文本计算哈希值,用于文件完整性验证、校验和与数据校验;包内附带 scripts/hash.py 脚本。

dinghaibin
dinghaibin
热度 32.80
最近更新 2026-05-11 17:46:29
分类:效率依赖:代码执行 / 读写文件应用场景:数据处理 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add hash-tool
Metadata
name
hash-tool
description
Compute cryptographic hash values of files and text. Use for verifying file integrity, checksums, and data validation.

Hash - Checksum Calculator

Calculate cryptographic hash values using algorithms like MD5, SHA-1, SHA-256, and SHA-512. Essential for file integrity verification.

Usage

hash-tool [options] <algorithm> <file>

Algorithms

  • md5, sha1, sha256, sha512

Examples

hash-tool sha256 file.txt
hash-tool md5 document.pdf
echo "data" | hash-tool sha256