Hash Utilities

Hash All

Hash All generates multiple hash digests simultaneously using common algorithms like MD5, SHA-1, SHA-256, and SHA-512. Access via `/v1/hash/all` REST endpoint or MCP in Cursor and other AI editors. Input any text and get back a JSON object with all hash variants — perfect for security analysis, data integrity checks, or when you need multiple hash formats without separate API calls.

API Endpoint

GET /v1/hash/all

Code Examples

curl "https://tinyfn.io/v1/hash/all" \
  -H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/hash/all', {
  headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests

response = requests.get('https://tinyfn.io/v1/hash/all',
    headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)

Use via MCP

Add to your AI agent

Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's hash tools:

{
  "mcpServers": {
    "tinyfn-hash": {
      "url": "https://tinyfn.io/mcp/hash",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Learn more about MCP setup →

FAQ

What hash algorithms does Hash All support?

Typically includes MD5, SHA-1, SHA-256, SHA-512, and other common algorithms. The exact list depends on the implementation but covers the most widely-used cryptographic hash functions.

How do I use Hash All with MCP in my AI coding assistant?

Call the hash_all function with your input text. The AI agent will receive all hash variants in a single response, making it efficient for security audits or comparing hash formats.

Can I hash binary data or only text strings?

Depends on the endpoint implementation. Most hash tools accept text input via API parameters, though some support base64-encoded binary data.

What's the output format from Hash All?

Returns a JSON object with algorithm names as keys and their corresponding hex-encoded hash values. For example: {"md5": "5d41402a...", "sha256": "2c26b46b..."}.

Is Hash All faster than calling individual hash endpoints?

Yes, it eliminates multiple API calls and network round-trips. One request gives you all hash variants, reducing latency and simplifying code when you need multiple algorithms.

Try Hash All Now

Get your free API key and start using Hash All in seconds.

Get Free API Key