Agent Maturity Compass API - v1.2.0
Guides
HTTP API
GitHub
Preparing search index...
index
schnorrProve
Function schnorrProve
schnorrProve
(
secret
:
bigint
)
:
SchnorrProof
Schnorr proof: prove knowledge of x where y = g^x, without revealing x.
Protocol:
Prover picks random k, sends a = g^k
Challenge: c = H(g, y, a) (Fiat-Shamir for non-interactive)
Response: z = k - c·x mod p Verification: g^z · y^c == a
Parameters
secret
:
bigint
Returns
SchnorrProof
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Guides
HTTP API
GitHub
Agent Maturity Compass API - v1.2.0
Loading...
Schnorr proof: prove knowledge of x where y = g^x, without revealing x.
Protocol: