Security
Generate ML-KEM-512/768/1024 (FIPS 203 / CRYSTALS-Kyber) keypairs, encapsulate a random shared secret against the public key, decapsulate it with the private key, and verify both sides match — with the exact wire sizes of all three parameter sets checked live against the standard.
Call this tool from your code in three languages.
curl -X POST 'http://127.0.0.1:3003/en/api/tools/ml-kem-kyber-keypair-and-encapsulation-tester' \
-H 'Content-Type: application/json' \
-d '{"parameterSet":"ml-kem-768","outputFormat":"hex","seedHex":"6c8f5a3fbf21d94e77a0c2e15b9d84f3a6d1c0048e2f97b5d3a1f6c8e0b4297d","showSecretKey":false}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST http://127.0.0.1:3003/en/api/tools/ml-kem-kyber-keypair-and-encapsulation-tester| Name | Type | Required | Description |
|---|---|---|---|
| parameterSet | select | Yes | — |
| outputFormat | select | Yes | — |
| seedHex | text | No | — |
| showSecretKey | checkbox | No | — |
HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}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-ml-kem-kyber-keypair-and-encapsulation-tester": {
"name": "ml-kem-kyber-keypair-and-encapsulation-tester",
"description": "Generate ML-KEM-512/768/1024 (FIPS 203 / CRYSTALS-Kyber) keypairs, encapsulate a random shared secret against the public key, decapsulate it with the private key, and verify both sides match — with the exact wire sizes of all three parameter sets checked live against the standard.",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=ml-kem-kyber-keypair-and-encapsulation-tester",
"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": "ml-kem-kyber-keypair-and-encapsulation-tester",
"arguments": {
"parameterSet": "ml-kem-768",
"outputFormat": "hex",
"seedHex": "6c8f5a3fbf21d94e77a0c2e15b9d84f3a6d1c0048e2f97b5d3a1f6c8e0b4297d",
"showSecretKey": false
}
}
}Questions or issues? Contact [email protected]