# sha512

Calculate SHA-512 hash of a string

Agent View of the PolicyLayer registry record for `sha512`. HTML page: https://policylayer.com/tools/1595901624-crypto-mcp/sha512

## Facts

- Tool: `sha512`
- Server: Crypto_MCP (`1595901624/crypto-mcp`) — https://policylayer.com/tools/1595901624-crypto-mcp.md
- Homepage: https://github.com/1595901624/crypto-mcp
- Risk category: Read (Low risk)
- Registry record: grade A, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Allowed

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "sha512",
    "arguments": {}
  }
}
```

## Why sha512 is rated Low

SHA-512 is a cryptographic hash function that computes a digest from input data. It has no side effects, does not modify or delete data, does not execute arbitrary code, and does not move funds. It is purely a data retrieval/transformation operation that reads input and returns a deterministic hash output. This is a classic Read category tool.

From the tool's own definition: "Tool name 'sha512' and description 'Calculate SHA-512 hash of a string' indicate a one-way cryptographic hash function that reads input and produces a hash output with no side effects, modifications, or operations on external systems."

## Use case

AI agents call sha512 to retrieve information from Crypto_MCP without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Crypto_MCP:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "sha512": {}
  }
}
```

## Other tools on Crypto_MCP (13)

- `des_encrypt` — Execute — https://policylayer.com/tools/1595901624-crypto-mcp/des-encrypt.md
- `aes_encrypt` — Other — https://policylayer.com/tools/1595901624-crypto-mcp/aes-encrypt.md
- `aes_decrypt` — Read — https://policylayer.com/tools/1595901624-crypto-mcp/aes-decrypt.md
- `base64_decode` — Read — https://policylayer.com/tools/1595901624-crypto-mcp/base64-decode.md
- `base64_encode` — Read — https://policylayer.com/tools/1595901624-crypto-mcp/base64-encode.md
- `des_decrypt` — Read — https://policylayer.com/tools/1595901624-crypto-mcp/des-decrypt.md
- `hex_decode` — Read — https://policylayer.com/tools/1595901624-crypto-mcp/hex-decode.md
- `hex_encode` — Read — https://policylayer.com/tools/1595901624-crypto-mcp/hex-encode.md
- `md5` — Read — https://policylayer.com/tools/1595901624-crypto-mcp/md5.md
- `sha1` — Read — https://policylayer.com/tools/1595901624-crypto-mcp/sha1.md
- `sha224` — Read — https://policylayer.com/tools/1595901624-crypto-mcp/sha224.md
- `sha256` — Read — https://policylayer.com/tools/1595901624-crypto-mcp/sha256.md
- `sha384` — Read — https://policylayer.com/tools/1595901624-crypto-mcp/sha384.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=1595901624-crypto-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/1595901624-crypto-mcp
