360 Secure SkillHub
360 安全技能中心

Hashcheck

核心功能:支持MD5、SHA-1等5种算法,可计算文件/文本哈希、验证哈希匹配性、比对文件一致性,还能同时展示所有算法结果。典型场景:校验下载文件完整性、验证文件是否篡改、比对文件是否相同。通过命令行调用,支持JSON输出,无外部依赖,操作便捷。

rogue-agent1
rogue-agent1
热度 42.98
最近更新 2026-05-11 17:37:31
分类:效率依赖:代码执行应用场景:数据处理

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add hashcheck
Metadata
name
hashcheck
description
Calculate, verify, and compare file hashes using MD5, SHA-1, SHA-256, SHA-512, and BLAKE2b. Use when asked to checksum a file, verify a download hash, compare files for equality, or hash a text string. Supports all common algorithms, JSON output, and multi-algorithm display. Zero dependencies.

hashcheck 🔒

File hash calculator, verifier, and comparator.

Commands

# Calculate SHA-256 (default)
python3 scripts/hashcheck.py hash file.zip

# Specific algorithm
python3 scripts/hashcheck.py hash -a md5 file.iso

# Verify against expected hash
python3 scripts/hashcheck.py verify file.zip abc123def456...

# Compare two files
python3 scripts/hashcheck.py compare file1.txt file2.txt

# Hash a text string
python3 scripts/hashcheck.py text "hello world"

# Show all algorithms at once
python3 scripts/hashcheck.py all file.bin

Algorithms

MD5, SHA-1, SHA-256, SHA-512, BLAKE2b