360 Secure SkillHub
360 安全技能中心

Sha Tool

提供 sha-tool 命令行工具,对文件或标准输入文本计算 SHA-1、SHA-256、SHA-512 哈希值,默认使用 SHA-256,可用于数据完整性与文件一致性校验。文档仅给出基本用法示例,未说明批量处理、结果比对或错误处理方式。

分类:安全
dinghaibin
dinghaibin
热度 22.22
最近更新 2026-05-11 17:47:10

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add dinghaibin/sha-tool
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
sha-tool
description
Compute SHA family hash values for file integrity verification. Use for checksums, data validation, and security verification.

SHA - Secure Hash Algorithm Calculator

Calculate SHA-1, SHA-256, SHA-384, and SHA-512 hash values for files and text input. Used for verifying data integrity and file authenticity.

Usage

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

Supported Algorithms

  • 1 or sha1: 160-bit hash
  • 256 or sha256: 256-bit hash (default)
  • 512 or sha512: 512-bit hash

Examples

sha-tool 256 document.pdf
sha-tool 512 file.bin
echo "data" | sha-tool 256