file-hasher

Calculate MD5, SHA1, SHA256, and SHA512 hashes for files.

84|15|Updated Dec 31, 2025
One-click install
npx skills add https://github.com/AIDotNet/MoYuCode --skill file-hasher
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: file-hasher
Source: https://github.com/AIDotNet/MoYuCode/tree/main/skills/tools/file-hasher
Command: npx skills add https://github.com/AIDotNet/MoYuCode --skill file-hasher

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps ensure that files have not been altered or corrupted during transfer or storage by calculating their cryptographic hash values.

Core Features & Use Cases

  • Hash Calculation: Computes MD5, SHA1, SHA256, and SHA512 checksums for any given file.
  • Integrity Verification: Compares a file's calculated hash against a known, trusted hash value.
  • Duplicate Detection: Identifies duplicate files within a specified directory based on their hash values, helping to free up disk space.
  • Use Case: Before installing new software, you can use this tool to hash the downloaded installer file and compare it against the hash provided on the official website to ensure the download is legitimate and untampered.

Quick Start

Calculate the SHA256 hash for the file named 'my_document.txt'.

Frequently Asked Questions about file-hasher

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate a SHA256 checksum to verify file integrity?

You can verify file integrity by calculating a SHA256 checksum using this tool, which computes cryptographic hash values via Python's hashlib. It compares the generated hash against a known trusted value to detect any modifications or corruption.

What is the best way to find duplicate files in a directory?

Finding duplicate files involves scanning a directory and comparing their cryptographic hash values. This tool identifies duplicates by calculating identical hashes for files, allowing you to safely remove redundant data and free up disk space.

Can I compute both MD5 and SHA512 hashes for the same file?

Yes, you can compute both MD5 and SHA512 hashes for the same file. This tool supports calculating multiple cryptographic checksums, including MD5, SHA1, SHA256, and SHA512, providing flexible verification options for different security requirements.

When do I need to check a file's checksum before installing software?

You need to check a file's checksum before installing software to ensure the downloaded installer is legitimate and untampered. By comparing the calculated hash against the official trusted checksum, you verify the file has not been altered or corrupted during transfer.