pqc_decapsulate
Decapsulate a KEM ciphertext with a supplied or stored secret key to recover the shared secret for post-quantum key establishment.
Instructions
Decapsulate a shared secret using a KEM secret key
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": {
"algorithm": "<algorithm>",
"ciphertext": "<ciphertext>"
},
"name": "pqc_decapsulate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| algorithm | Yes | KEM algorithm name | |
| ciphertext | Yes | Base64-encoded ciphertext from encapsulation | |
| secret_key | No | Base64-encoded secret key | |
| key_store_name | No | Name of stored KEM keypair |