hash
Generate message digests using MD5, SHA-1, SHA-256, SHA-512, or HMAC; compare digest values or compute all algorithms simultaneously.
Instructions
Hash text using MD5, SHA-1, SHA-256, SHA-512, or HMAC. Can also compare two hash values or compute all hash algorithms at once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Secret key (for hmac action) | |
| text | No | Text to hash (for hash, hmac, hash_all actions) | |
| hash1 | No | First hash (for compare action) | |
| hash2 | No | Second hash (for compare action) | |
| action | Yes | Action to perform: hash (single algorithm), hmac (keyed hash), compare (compare two hashes), hash_all (all algorithms at once) | |
| encoding | No | Output encoding. Default: hex | |
| algorithm | No | Hash algorithm (for hash and hmac actions). Default: sha256 |