hash_tool
Generate and verify file hashes using MD5, SHA-1, SHA-256, or SHA-512. Compare files, batch process, and hash string inputs for integrity checks.
Instructions
File hashing and verification. Operations: hash (single file), verify (against expected), compare (two files), multiple (batch), string (hash text). Algorithms: md5, sha1, sha256, sha512.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | String data to hash (for string) | |
| path | No | File path (for hash/verify) | |
| file1 | No | First file (for compare) | |
| file2 | No | Second file (for compare) | |
| paths | No | File paths (for multiple) | |
| expected | No | Expected hash value (for verify) | |
| algorithm | No | Hash algorithm (default: sha256) | |
| operation | Yes | Hash operation to perform |