---
title: "Generate a hash sum for input data"
method: POST
path: "/sys/tools/hash"
tags: ["system"]
---

# Generate a hash sum for input data

`POST /sys/tools/hash`

## Request body

- SystemToolsHashRequest
  - `algorithm` string — Algorithm to use (POST body parameter). Valid values are: * sha2-224 * sha2-256 * sha2-384 * sha2-512 Defaults to "sha2-256".
  - `format` string — Encoding format to use. Can be "hex" or "base64". Defaults to "hex".
  - `input` string — The base64-encoded input data
  - `urlalgorithm` string — Algorithm to use (POST URL parameter)

## Response `200`

OK

---

[API](https://skmtc.net/lensesio/apis/hashicorp-vault-api.md) · [All operations](https://skmtc.net/lensesio/apis/hashicorp-vault-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lensesio/hashicorp-vault-api/versions/bd8194de0697/schema)
