{"ok":true,"tool":"Hash Generator","operation":"generate-hash","description":"Generate a cryptographic hash (SHA-1, SHA-256, SHA-384, SHA-512) from text.","method":"POST","endpoint":"/api/hash-generator","webUrl":"https://toolhub-5eo.pages.dev/tools/hash-generator","parameters":{"type":"object","properties":{"text":{"type":"string","description":"Text to hash"},"algorithm":{"type":"string","enum":["sha-1","sha-256","sha-384","sha-512"],"description":"Hash algorithm (default sha-256)"}},"required":["text"]},"response":{"type":"object","properties":{"algorithm":{"type":"string"},"hash":{"type":"string"},"length":{"type":"integer"}}},"example":{"request":{"text":"Hello World","algorithm":"sha-256"},"response_shape":{"type":"object","properties":{"algorithm":{"type":"string"},"hash":{"type":"string"},"length":{"type":"integer"}}}},"howToCall":"POST a JSON body to https://toolhub-5eo.pages.dev/api/hash-generator. Returns {\"ok\":true,\"result\":{...}} on success or {\"ok\":false,\"error\":\"...\"} on failure. No auth, CORS-enabled.","parametersSummary":"  text (string, required) — Text to hash\n  algorithm (string, optional, one of: sha-1|sha-256|sha-384|sha-512) — Hash algorithm (default sha-256)","curlExample":"curl -X POST https://toolhub-5eo.pages.dev/api/hash-generator -H \"Content-Type: application/json\" -d '{\"text\":\"Hello World\",\"algorithm\":\"sha-256\"}'"}