hash
Hash UTF-8 text with SHA-256 (default), SHA-1, SHA-384 or SHA-512 and return the digest in hex and base64. Use for checksums, cache keys and deduplication. Costs $0.001 in USDC on Base per successful call, paid with x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to hash | |
| algorithm | No | sha256 (default), sha1, sha384 or sha512 |