Multi-recipient stream decrypt data (post-quantum)
crypto_stream_multi_decryptDecrypt multi-recipient post-quantum hybrid STREAM AEAD ciphertexts using server-held X25519 and ML-KEM-768 key handles; plaintext memory is wiped after decoding.
Instructions
Decrypt a multi-recipient post-quantum hybrid STREAM AEAD ciphertext using server-held x25519 and ml-kem-768 key handles. Plaintext memory is wiped after decoding.
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": {
"ciphertext": "<ciphertext>",
"x25519KeyHandle": "<x25519KeyHandle>",
"mlKemKeyHandle": "<mlKemKeyHandle>"
},
"name": "crypto_stream_multi_decrypt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chunkSize | No | Chunk size in bytes (minimum 1024, maximum 16777216, default 65536). | |
| ciphertext | Yes | Base64-encoded multi-recipient STREAM ciphertext. | |
| recipientId | No | Optional recipient identifier for direct slot lookup. | |
| mlKemKeyHandle | Yes | Handle of the recipient ML-KEM-768 key. Key handles look like 'kh_' followed by 32 hex characters. | |
| x25519KeyHandle | Yes | Handle of the recipient X25519 key (or 32-byte symmetric-256 key). Key handles look like 'kh_' followed by 32 hex characters. |