Skip to main content

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.

EndpointPOST /api/security/zk/prove
Authapi-key
Rate limit20/min
Categorysecurity

Parameters

NameTypeRequiredDescription
commitmentstringYesSHA-256 hash of the equation + evaluation result (the ZID derivation).
challengenumberNoVerifier'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.