pqc_hybrid_decap
Recover a hybrid shared secret by decapsulating an ML-KEM-768 ciphertext and combining it with an X25519 secret key and ephemeral public key.
Instructions
Recover hybrid shared secret using both secret keys.
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": {
"x25519_ephemeral_public_key": "<x25519_ephemeral_public_key>",
"pqc_ciphertext": "<pqc_ciphertext>"
},
"name": "pqc_hybrid_decap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_store_name | No | Name of stored hybrid key bundle | |
| pqc_ciphertext | Yes | Base64-encoded ML-KEM-768 ciphertext from encap | |
| pqc_secret_key | No | Base64-encoded ML-KEM-768 secret key | |
| classical_secret_key | No | Base64-encoded raw 32-byte X25519 secret key | |
| x25519_ephemeral_public_key | Yes | Base64-encoded raw 32-byte ephemeral public key from encap |