---
title: "Compute HMAC"
method: POST
path: "/crypto/hmac"
tags: ["Crypto"]
---

# Compute HMAC

`POST /crypto/hmac`

## Request

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

Returns the HMAC of the provided text and key.

## Request body

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

## Response `200`

Default Response

- object
  - `algo` string
  - `hmac` 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)
