Hash Generator
Generate MD5, SHA-1, SHA-256, SHA-384 or SHA-512 hashes from any text.
POST /api/v1/hash- API version
- v1
- Output schema
- 1
The endpoint path is always /v1. The schema number below tracks this tool's output shape and changes independently.
Create a free account →Parameters
| Parameter | Type | Required | Default |
|---|---|---|---|
| input | text | yes | — |
| algo | md5 | sha1 | sha256 | sha384 | sha512 | no | sha256 |
| encoding | hex | base64 | no | hex |
Request
curl -X POST https://sinikoding.dev/api/v1/hash \ -H 'content-type: application/json' \ -H 'x-api-key: tk_live_…' \ -d '{"input":"…","algo":"sha256","encoding":"hex"}'
Returns
"output": { "kind": "text", "value": "…" }
Calls a same-origin sandbox endpoint, not /api/v1. No key needed, capped at 15 requests a minute.
Request
curl -X POST https://sinikoding.dev/api/v1/hash \ -H 'content-type: application/json' \ -H 'x-api-key: tk_live_…' \ -d '{"input":"","algo":"sha256","encoding":"hex"}'
Response
Send a request to see the response.