Cryptography
Auditeur de constructions MAC : HMAC + BLAKE3 + SHA-3/Keccak + Poly1305 + BLAKE2 à clé
Calcule et audite des MAC sur HMAC-SHA-2/SHA-3, BLAKE2 à clé, BLAKE3, KMAC et Poly1305 avec autotests officiels à réponse connue, contrôle des longueurs clé/étiquette et matrice de compatibilité inter-constructions.
Démarrage rapide
Appelez cet outil depuis votre code en trois langages.
curl -X POST 'https://api.elysiatools.com/fr/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"}'Référence de l'API
Envoyez une requête POST avec vos entrées en JSON. Les paramètres de type fichier nécessitent un upload préalable.
Point d'accès
POST https://api.elysiatools.com/fr/api/tools/hmac-blake3-sha3-keccak-keyed-hash-and-mac-construction-linterParamètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| message | textarea | Oui | — |
| messageEncoding | select | Non | — |
| keyHex | text | Oui | — |
| tagBytes | number | Non | — |
| customLabel | text | Non | — |
Intégration MCP
Ajoutez cet outil à votre serveur Model Context Protocol pour que les agents IA puissent le lister et l'appeler.
Configuration du serveur
Ajoutez ce bloc à la configuration de votre client MCP :
{
"mcpServers": {
"elysiatools-hmac-blake3-sha3-keccak-keyed-hash-and-mac-construction-linter": {
"name": "hmac-blake3-sha3-keccak-keyed-hash-and-mac-construction-linter",
"description": "Calcule et audite des MAC sur HMAC-SHA-2/SHA-3, BLAKE2 à clé, BLAKE3, KMAC et Poly1305 avec autotests officiels à réponse connue, contrôle des longueurs clé/étiquette et matrice de compatibilité inter-constructions.",
"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"
}
}
}Lister les outils disponibles
Après connexion au point d'accès SSE, listez les outils exposés :
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Appeler cet outil
Appelez l'outil par son id ; les arguments sont construits à partir de ses paramètres :
{
"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"
}
}
}