ZeqKeyEx — Temporal Key Exchange
Diffie-Hellman key exchange over the Zeqond grid. Both parties derive a shared secret synchronized to the same HulyaPulse phase — temporal key agreement.
| Endpoint | POST /api/security/keyex/init |
| Auth | api-key |
| Rate limit | 20/min |
| Category | security |
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
publicKey | string | Yes | Initiator's public key (hex). |
targetZid | string | No | Target ZID for directed exchange. |
Returns
{ sessionId, publicKey, zeqond, phase, expiresAt, protocol }
Example
curl -sS -X POST \
-H "Authorization: Bearer zsm_..." \
-H "Content-Type: application/json" \
-d '{
"publicKey": "<publicKey>",
"targetZid": "<targetZid>"
}' \
"https://zeqsdk.com/api/security/keyex/init"
This protocol is a named building block — one of the operations you
compose inside a state contract. Call it directly with
the request above, or invoke it from a contract that fires on your machine's
clock. Browse the whole library at GET /api/protocols; fetch this one at
GET /api/protocols/zeq-keyex.