Skip to content
Utilerio
All endpoints

Hash Generator

POST/api/v1/tools/hash-generator

Generate SHA-1, SHA-256, SHA-384 and SHA-512 hashes from any text.

Authentication

Requires an API key in the X-API-Key header.

Try it

POST/api/v1/tools/hash-generator

Parameters

inputstringrequired

Text to hash.

algorithmstringoptional

Hash algorithm. Default sha256.

md5sha1sha256sha512

Request body

{
  "input": "hello",
  "algorithm": "sha256"
}

Response codes

  • 200Success.
  • 400Invalid request — check your body or parameters.
  • 401Missing or invalid API key.
  • 403The API key is not scoped to this endpoint.
  • 429Rate limit exceeded — retry after a short wait.

Language

cURL

Request

curl -X POST https://utilerio.com/api/v1/tools/hash-generator \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":"hello","algorithm":"sha256"}'

Response

{ "hash": "2cf24dba…", "algorithm": "sha256" }