---
title: "Hash a string"
method: POST
path: "/anonymize/hash"
tags: ["Anonymizer"]
---

# Hash a string

`POST /anonymize/hash`

## Request

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

Compute a SHA-256 or SHA-512 hash, optionally salted.

## Request body

- object
  - `value` string, required
  - `algorithm` 'sha256' | 'sha512'
  - `salt` string

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