← All tool references

Developer Tools · not_available

Hash Generator

Generate a cryptographic digest for text using SHA-256, SHA-384, or SHA-512.

Open public tool

Overview

Category
Developer Tools
API mode
not_available
Processing
client-side
Privacy
no-data-stored

Public descriptor

The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.

GET /api/v1/tools/hash-generator

View this descriptor as JSON

Execute availability

This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.

POST /api/v1/tools/hash-generator/execute

Authentication is not issued during the preview. A bearer API key is planned for execution after launch.

Input schema

object object; additional properties are not accepted.

input · string · required
Enter the exact text whose digest should be calculated.
algorithm · string · required
Choose the hash algorithm that matches the calculation. Accepted values: SHA-256, SHA-384, SHA-512.
output_case · string · required
Choose the hexadecimal case that matches the calculation. Accepted values: lowercase, uppercase.
{
    "type": "object",
    "properties": {
        "input": {
            "type": "string",
            "description": "Enter the exact text whose digest should be calculated."
        },
        "algorithm": {
            "type": "string",
            "description": "Choose the hash algorithm that matches the calculation.",
            "enum": [
                "SHA-256",
                "SHA-384",
                "SHA-512"
            ]
        },
        "output_case": {
            "type": "string",
            "description": "Choose the hexadecimal case that matches the calculation.",
            "enum": [
                "lowercase",
                "uppercase"
            ]
        }
    },
    "required": [
        "input",
        "algorithm",
        "output_case"
    ],
    "additionalProperties": false
}

Output schema

On a successful execution, schema values appear in data.result.values.

hex_digest · string
Hexadecimal digest produced by the calculation.
base64_digest · string
Base64 digest produced by the calculation.
algorithm · string
Algorithm used produced by the calculation.
input_bytes · number
Input byte count produced by the calculation.
{
    "type": "object",
    "properties": {
        "hex_digest": {
            "type": "string",
            "description": "Hexadecimal digest produced by the calculation."
        },
        "base64_digest": {
            "type": "string",
            "description": "Base64 digest produced by the calculation."
        },
        "algorithm": {
            "type": "string",
            "description": "Algorithm used produced by the calculation."
        },
        "input_bytes": {
            "type": "number",
            "description": "Input byte count produced by the calculation."
        }
    },
    "additionalProperties": false
}

Hash Generator example

The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.

curl -X POST "https://utilitypages.org/api/v1/tools/hash-generator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "input": "UtilityPages",
    "algorithm": "SHA-256",
    "output_case": "lowercase"
}'
{
    "ok": true,
    "data": {
        "slug": "hash-generator",
        "result": {
            "values": {
                "hex_digest": "84f1f48c10c02446db67a7a7c4c988d496e3c21bfb8c9dd290c34b9f2428fcf1",
                "base64_digest": "hPH0jBDAJEbbZ6enxMmI1Jbjwhv7jJ3SkMNLnyQo/PE=",
                "algorithm": "SHA-256",
                "input_bytes": 12
            },
            "display": {
                "display": "84f1f48c10c02446db67a7a7c4c988d496e3c21bfb8c9dd290c34b9f2428fcf1"
            },
            "warnings": [],
            "assumptions": [],
            "steps": []
        }
    },
    "meta": [],
    "request_id": "req_example_123"
}

Errors

api_not_launched · 503
Returned by the current launch gate for every execute request.
invalid_json · 400
Returned when an enabled execute request does not contain valid JSON.
validation_failed · 422
Returned when a request does not satisfy the input schema.
browser_interaction_required · 422
Returned for browser capability tools instead of inventing a server-side result.
tool_not_found · 404
Returned when a requested descriptor slug does not exist.
execution_failed · 503
Returned when an enabled server-side execution cannot complete.