Back to skills
SKILL.md
File Hasher
ASecurity计算文件哈希值(MD5、SHA1、SHA256、SHA512)用于完整性验证和比较。
- 85 stars
- 0 votes
- 0 copies
- 1 view
- Added February 7, 2026
Works with
Security analysis
100/100Pro scans all 2 files and shows the line behind each finding
npx -y skills add AIDotNet/MoYuCode --skill file-hasher --agent claude-codeAre you the author of File Hasher?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/aidotnet-file-hasher)---
name: file-hasher
description: 计算文件哈希值(MD5、SHA1、SHA256、SHA512)用于完整性验证和比较。
metadata:
short-description: 计算文件哈希值
source:
repository: https://github.com/python/cpython
license: PSF
---
# File Hasher Tool
## Description
Calculate cryptographic hashes for files to verify integrity, detect duplicates, or generate checksums.
## Trigger
- `/hash` command
- User needs file checksums
- User wants to verify file integrity
## Usage
```bash
# Calculate SHA256 hash
python scripts/file_hasher.py file.zip
# Calculate multiple hash types
python scripts/file_hasher.py file.zip --all
# Verify against known hash
python scripts/file_hasher.py file.zip --verify abc123...
# Hash multiple files
python scripts/file_hasher.py *.zip --algorithm sha256
# Find duplicate files
python scripts/file_hasher.py --find-duplicates ./folder/
```
## Tags
`hash`, `checksum`, `md5`, `sha256`, `integrity`
## Compatibility
- Codex: ✅
- Claude Code: ✅
Files in this skill
- SKILL.md
- scripts/file_hasher.py
Attribution
Comments
Loading comments…