Skip to main content

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.

EndpointPOST /api/security/keyex/init
Authapi-key
Rate limit20/min
Categorysecurity

Parameters

NameTypeRequiredDescription
publicKeystringYesInitiator's public key (hex).
targetZidstringNoTarget 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.