---
title: "Compute hash"
method: GET
path: "/crypto/hash"
tags: ["Crypto"]
---

# Compute hash

`GET /crypto/hash`

## Request

- Base URL: `https://abundanceapis.com`
- URL: `https://abundanceapis.com/crypto/hash`
- Auth: none declared

Returns the hash of the provided text.

## Query parameters

- `text` string, required
- `algo` 'md5' | 'sha1' | 'sha256' | 'sha512'

## Response `200`

Default Response

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

## Other responses

- `400`: Bad request

---

[API](https://skmtc.dev/abundanceapis/apis/web-toolbox.md) · [All operations](https://skmtc.dev/abundanceapis/apis/web-toolbox/llms.txt) · [OpenAPI document](https://skmtc.dev/abundanceapis/apis/web-toolbox/revisions/ada2893fef43?raw)
