---
title: "Compute hash"
method: POST
path: "/encrypt/hash"
tags: ["Encryption"]
---

# Compute hash

`POST /encrypt/hash`

## Request

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

Compute hash of text with selected algorithm and encoding.

## Request body

- object
  - `text` string, required
  - `algorithm` 'sha256' | 'sha512' | 'sha1' | 'md5'
  - `encoding` 'hex' | 'base64'

## 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)
