hash_compare
Compares text against an expected hash to verify integrity, using SHA-256 by default with optional algorithm selection.
Instructions
Compare text against an expected hash to verify integrity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes | Expected hash value. | |
| text | Yes | Text to hash and compare. | |
| algorithm | No | Hash algorithm (default: sha256). |