Generates MD5 hashes from text input via `/v1/hash/md5` endpoint. Returns a 32-character hexadecimal string like `5d41402abc4b2a76b9719d911017c592` for "hello". Useful for checksums, cache keys, and data integrity verification in AI workflows, though cryptographically weak for security purposes.
curl "https://tinyfn.io/v1/hash/md5" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/hash/md5', {
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/md5',
headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)
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"
}
}
}
}
Send a GET request to `/v1/hash/md5` with your text as a parameter. The API returns a 32-character hexadecimal MD5 hash.
No, MD5 is cryptographically broken and vulnerable to collision attacks. Use SHA-256 or bcrypt for passwords and security-sensitive applications.
Yes, the hash_md5 tool works in Cursor, Claude Code, and other MCP-compatible editors for generating checksums and cache keys in agent scripts.
MD5 produces 128-bit (32 hex chars) hashes and is faster but less secure. SHA-1 generates 160-bit hashes and is slightly more secure but still deprecated.
Yes, MD5 is deterministic but sensitive to any character change. "hello" and "hello " produce completely different hashes.