ZeqZK — Zero-Knowledge Proof
Zero-knowledge proof using HULYAS field evaluation. Prove you know an equation that produces a specific R(t) value without revealing the equation. Based on the Zeq Auth principle: the equation is never transmitted.
| Endpoint | POST /api/security/zk/prove |
| Auth | api-key |
| Rate limit | 20/min |
| Category | security |
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
commitment | string | Yes | SHA-256 hash of the equation + evaluation result (the ZID derivation). |
challenge | number | No | Verifier's challenge value. If omitted, server generates one. |
Returns
{ proof, commitment, challenge, verified, zeqond, protocol }
Example
curl -sS -X POST \
-H "Authorization: Bearer zsm_..." \
-H "Content-Type: application/json" \
-d '{
"commitment": "<commitment>",
"challenge": 0
}' \
"https://zeqsdk.com/api/security/zk/prove"
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-zk.