O
O
OpenId3 Docs
Search
K

Hybrid ZKP

DAuth has developed a hybrid authentication architecture that combines the zero-knowledge verifiable properties of ZK with the fast computation properties of TEE to meet the requirements of social login. When users log in using their Web2 account, both ZK and TEE proofs are calculated simultaneously.

Secure Enclave

DAuth Enclave uses Trusted Execution Environment (TEE) technology to handle social account authentication in a anonymous way. That is also the part the ZK technology can't do for now.
TEE is hardware technology that is leveraged on each DAuth node. The TEE protects the core data of the users from being tampered with by the DAuth nodes.

Hybrid ZKP

Since ZK circuit computation can take a long time, DAuth provides an instant TEE-based proof that is sufficient for addressing high-frequency logins or small-value transfer scenarios. For these transactions, DAuth randomly calculates the ZK circuit according to a certain probability, decentralizing constraints on nodes running instant proofs. This approach ensures a secure and efficient authentication process for both high and low-value transactions, effectively addressing the scalability issues faced by previous solutions.
Additionally, developers have the flexibility to require ZKPs based on their logic, providing an additional layer of security for high-risk transactions such as sending out 1 BTC. This feature enhances the overall security and trustworthiness of the authentication process and empowers developers to customize their applications according to their specific security requirements.