Cryptography
Hash the same input with MD5, SHA-1, SHA-256, SHA-512, BLAKE2b, and BLAKE3 at the same time and compare them side by side: output length, hex/Base64 digest, security status (broken / modern), and a relative speed benchmark. Great for teaching, choosing a hashing algorithm, or sanity-checking checksums.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/hash-algorithm-comparator' \
-H 'Content-Type: application/json' \
-d '{"input":"The quick brown fox jumps over the lazy dog","inputEnc":"utf8","outputEnc":"hex","algos":["md5","sha1","sha256","sha512","blake2b256","blake2b512","blake3"],"iterations":100}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/hash-algorithm-comparator| Name | Type | Required | Description |
|---|---|---|---|
| input | textarea | Yes | The bytes to hash. Interpreted according to the input encoding. |
| inputEnc | select | No | — |
| outputEnc | select | No | — |
| algos | select | No | Which algorithms to run. Leave default to compare all. |
| iterations | number | Yes | How many times to hash for the speed benchmark. Set to 0 to skip timing. |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-hash-algorithm-comparator": {
"name": "hash-algorithm-comparator",
"description": "Hash the same input with MD5, SHA-1, SHA-256, SHA-512, BLAKE2b, and BLAKE3 at the same time and compare them side by side: output length, hex/Base64 digest, security status (broken / modern), and a relative speed benchmark. Great for teaching, choosing a hashing algorithm, or sanity-checking checksums.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=hash-algorithm-comparator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "hash-algorithm-comparator",
"arguments": {
"input": "The quick brown fox jumps over the lazy dog",
"inputEnc": "utf8",
"outputEnc": "hex",
"algos": [
"md5",
"sha1",
"sha256",
"sha512",
"blake2b256",
"blake2b512",
"blake3"
],
"iterations": 100
}
}
}HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Questions or issues? Contact [email protected]