Hash File Verify

Compute and verify SHA-256 hash of a file for integrity checking

jadegate 12e5d72 2 files · 4.6 KB Updated

File contents

File Hash Verification

Compute and verify SHA-256 hash of a file for integrity checking

When to Use

  • User wants to verify hash
  • User wants to hash file
  • Keywords: hash, sha256, verify, integrity

Required Parameters

  • file_path (string): Path to file
  • expected_hash (string): Expected SHA-256 hash (optional)

Output

  • hash (string): Computed SHA-256 hash
  • match (boolean): Whether hash matches expected
  • file_size (number): File size in bytes

Security

  • Sandbox level: strict
  • Max execution time: 30000ms
  • JadeGate verified: Yes (5-layer security check passed)

Execution Flow

Entry: read_file -> 7 steps -> Exit: ret_match, ret_nomatch, ret_fail

jadegate/jadegate/tree/main/skills/hash-file-verify commit 12e5d72f71

Frequently asked questions

npx skillmds@latest add jadegate/hash-file-verify