---
title: "Hash a string"
method: GET
path: "/hash"
tags: ["Utility"]
---

# Hash a string

`GET /hash`

Returns the hash of a string using a specified algorithm. Supports MD5, SHA-1, SHA-256, SHA-384, SHA-512, SHA3-256, and SHA3-512. No API key required.

## Query parameters

- `input` string, required
- `algo` 'md5' | 'sha1' | 'sha256' | 'sha384' | 'sha512' | 'sha3-256' | 'sha3-512'

## Response `200`

Hash result

- object
  - `input` string
  - `algo` string
  - `hash` string
  - `length` integer

---

[API](https://skmtc.dev/kiprio/apis/kiprio-api.md) · [All operations](https://skmtc.dev/kiprio/apis/kiprio-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kiprio/kiprio-api/revisions/bbe8f8fb1a35/schema)
