This demo shows how to create and verify cryptographic proofs that reveal limited information about private data.
In this example, we prove that a token value is below a threshold without revealing the actual value.
Step 1: Generate Keys & Request Token
Generate a client key pair and request a signed token from the server:
Step 2: Generate & Send Proof
Create and send a zero-knowledge proof that the token value meets the threshold condition (≤ 60):