Multi-recipient hybrid KEM decapsulate
crypto_hybrid_kem_multi_decapsulateDecapsulates multi-recipient post-quantum hybrid KEM keys using server-held X25519 and ML-KEM-768 handles, recovering a DEK and returning its symmetric-256 key handle.
Instructions
Decapsulate a multi-recipient post-quantum hybrid KEM key using server-held x25519 and ml-kem-768 key handles. Returns a symmetric-256 keyHandle for the recovered DEK.
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": {
"x25519KeyHandle": "<x25519KeyHandle>",
"mlKemKeyHandle": "<mlKemKeyHandle>"
},
"name": "crypto_hybrid_kem_multi_decapsulate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recipients | No | Optional JSON-serialized array of encrypted recipient objects: [{ id?, ephemeralPublicKey, mlKemCiphertext, encryptedKey }]. | |
| wrappedKey | No | Base64-encoded wrapped DEK (RFC 3394 AES Key Wrap). | |
| recipientId | No | Optional recipient ID to select from recipients array. | |
| encryptedKey | No | Alias for wrappedKey. | |
| mlKemKeyHandle | Yes | Handle of recipient ML-KEM-768 key. Key handles look like 'kh_' followed by 32 hex characters. | |
| recipientIndex | No | Optional index to select from recipients array (default 0). | |
| mlKemCiphertext | No | Hex-encoded ML-KEM-768 ciphertext (2176 hex characters). | |
| x25519KeyHandle | Yes | Handle of recipient X25519 key. Key handles look like 'kh_' followed by 32 hex characters. | |
| ephemeralPublicKey | No | Hex-encoded sender ephemeral X25519 public key (64 hex characters). |