Cryptography Utilities

Verify Hash

Cryptographic hash verification tool that confirms whether a given hash matches specific text input. Access via MCP in Cursor, Windsurf, or other AI editors, or call GET /v1/crypto/hash-verify directly. Returns boolean verification result with algorithm detection. Essential for data integrity checks, password verification, and file validation workflows.

API Endpoint

GET /v1/crypto/hash-verify

Code Examples

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

response = requests.get('https://tinyfn.io/v1/crypto/hash-verify',
    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 cryptography tools:

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

Learn more about MCP setup →

FAQ

How do I verify a SHA-256 hash against text using this tool?

Pass the original text and the hash to compare. The tool automatically detects common algorithms (SHA-256, MD5, SHA-1) and returns true/false verification.

Can AI agents use this for password verification workflows?

Yes, MCP-enabled agents in Cursor or Claude Code can verify hashed passwords, API tokens, or checksums as part of security validation workflows.

What hash algorithms does the verification tool support?

Supports SHA-256, SHA-1, MD5, SHA-512, and other common algorithms. Algorithm detection is automatic based on hash length and format.

Does hash verification work with salted hashes?

No, this verifies simple hash(text) comparisons. For salted hashes, you'd need to include the salt in your text input or use specialized authentication tools.

What's the difference between hash generation and hash verification?

Hash generation creates a hash from text, while verification checks if an existing hash matches given text. Both are deterministic operations.

Try Verify Hash Now

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

Get Free API Key