Multi-recipient hybrid KEM encapsulate
crypto_hybrid_kem_multi_encapsulateEncapsulates a symmetric key for multiple recipients using X25519 + ML-KEM-768 hybrid KEM and AES-256-GCM wrapping, returning per-recipient ciphertexts and a key handle.
Instructions
Encapsulate a symmetric key for multiple recipients using post-quantum hybrid KEM (X25519 + ML-KEM-768 + AES-256-GCM key wrapping). Returns recipient ciphertexts and a symmetric-256 keyHandle.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"recipients": "<recipients>"
},
"name": "crypto_hybrid_kem_multi_encapsulate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyHandle | No | Optional handle of an existing symmetric-256 key to encapsulate. Refused unless the server sets MCP_ALLOW_KEY_EXPORT=1, since it sends the key to the recipients. If omitted, a fresh 256-bit DEK is generated. Key handles look like 'kh_' followed by 32 hex characters. | |
| recipients | Yes | JSON-serialized array of recipient public key objects: [{ id?, x25519PublicKey, mlKemPublicKey }]. |