checksum
Calculate file hashes (SHA256, MD5, SHA1, SHA512) and optionally verify against an expected hash to ensure file integrity.
Instructions
Calculate file hash (SHA256, MD5, SHA1, SHA512). Optionally verify against expected hash.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the file | |
| algorithm | No | sha256 | |
| expected | No | Expected hash to verify against |