Cryptography
HMAC + BLAKE3 + SHA-3/Keccak + Poly1305 + BLAKE2 带密钥 MAC 构造审计器
跨 HMAC-SHA-2/SHA-3、带密钥 BLAKE2、BLAKE3、KMAC 与 Poly1305 计算 MAC 并做安全审计,内置官方已知答案自测、密钥/标签长度检查与跨构造兼容性矩阵。
html· HTML 结果打开工具
快速开始
用三种语言从你的代码中调用此工具。
cURL
curl -X POST 'https://api.elysiatools.com/zh/api/tools/hmac-blake3-sha3-keccak-keyed-hash-and-mac-construction-linter' \
-H 'Content-Type: application/json' \
-d '{"message":"The quick brown fox jumps over the lazy dog","messageEncoding":"utf8","keyHex":"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f","tagBytes":32,"customLabel":"myapi/v1/webhook"}'API 参考
以 JSON 形式 POST 提交输入参数。文件类型参数需先单独上传。
请求端点
HTTP
POST https://api.elysiatools.com/zh/api/tools/hmac-blake3-sha3-keccak-keyed-hash-and-mac-construction-linter请求参数
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| message | textarea | 是 | — |
| messageEncoding | select | 否 | — |
| keyHex | text | 是 | — |
| tagBytes | number | 否 | — |
| customLabel | text | 否 | — |
响应格式
MCP 集成
将此工具加入你的 Model Context Protocol 服务,让 AI 智能体可以列出并调用它。
服务配置
将以下内容加入你的 MCP 客户端配置:
mcp.json
{
"mcpServers": {
"elysiatools-hmac-blake3-sha3-keccak-keyed-hash-and-mac-construction-linter": {
"name": "hmac-blake3-sha3-keccak-keyed-hash-and-mac-construction-linter",
"description": "跨 HMAC-SHA-2/SHA-3、带密钥 BLAKE2、BLAKE3、KMAC 与 Poly1305 计算 MAC 并做安全审计,内置官方已知答案自测、密钥/标签长度检查与跨构造兼容性矩阵。",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=hmac-blake3-sha3-keccak-keyed-hash-and-mac-construction-linter",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}列出可用工具
连接到 SSE 端点后,列出已开放的工具:
tools/list
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}调用此工具
通过工具 id 调用,参数由其参数表构建:
tools/call
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "hmac-blake3-sha3-keccak-keyed-hash-and-mac-construction-linter",
"arguments": {
"message": "The quick brown fox jumps over the lazy dog",
"messageEncoding": "utf8",
"keyHex": "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
"tagBytes": 32,
"customLabel": "myapi/v1/webhook"
}
}
}可用逗号分隔的 toolId 在一个会话中串联多个工具,例如 /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp(最多 20 个)。
有问题或反馈?请联系 [email protected]