Imagine you have a digital helper that can securely verify important information for you without ever needing to see the details – that's what the RESTful API web service component of zkPass Service is all about. It's like a trusted messenger that carries sealed envelopes (your user data and the Data Verification Request) to a secure vault (zkPass Query Host) and brings back a stamp of approval, all without peeking inside.
Here's how it works for you: Whenever you want to check if certain information is true or meets specific criteria, you don't need to handle the sensitive details yourself. Instead, you send a request to our web service RESTful API called generate_zkpass_proof
. This request is like a special envelope containing a question you want to be answered, based on the data you're curious about.
The zkPass Query Host, the digital vault, then works its magic. It carefully examines your request, verifies the information against the criteria you've set, and sends back proof – a kind of digital stamp – that confirms whether the information meets your requirements. The best part? This all happens without the web service ever actually seeing or storing the sensitive data you're inquiring about.
Now, the zkPass Query Host is where the real magic happens. Picture it as a vault, nested within another vault, sitting in a Trusted Execution Environment (TEE). This is the Fort Knox of zkPass, shielded and isolated from the outside world. Communication with the outside, even with the REST API Web Service, happens only through a secure, specialized channel.
Inside this vault is a specialized engine, a component known by the intriguing name of <zkvm>-zkpass-query
, where <zkvm>
denotes the specific ZKVM (Zero Knowledge Virtual Machine) engine in use. Given the user data and DVR inputs, this engine crafts something quite valuable—a secure proof, the zkPass Proof.
So, when you make that initial RESTful call to generate_zkpass_proof
, what you get back is this zkPass Proof, fresh from the secure confines of the zkPass Query Host's vault. And there you have it, the tale of how zkPass takes your user data and DVR on a journey from a humble reception desk to a high-security vault, only to return to you a valuable proof. Armed with this understanding, you're now ready to make the most of zkPass in your own engineering endeavors.
In the cloud, far from the complexities of your local machine, lies the zkPass Service. This service is like a well-orchestrated duo, composed of the RESTful API Web Service and the zkPass Query Host. Each has a role to play in the secure creation of what's known as a zkPass Proof.