bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 13쪽 중 4쪽
e><img src="https://2216484837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC2Jh1oquOpJPfwzD3x9L%2Fuploads%2FuuAezIO1TikBbKMPKBT5%2F4.png?alt=media&token=bf59f0a3-c088-46a0-ae23-64c912c73608" alt=""><figcaption></figcaption></figure>
#### Modular Circuit
When it comes to Modular Circuit design, the size of the response from the DataSource isn’t always certain and can be approximately 1k. This implies that the scale of the whole circuit for authentication and assertion can be quite large, containing millions of gates. For a browser-like system, this is impractical to load the circuit and provide proof due to the significant memory consumption.
However, we can notice that the main circuit is not just a combination of many sub-circuits, but certain sub-circuits are reused repeatedly during the evaluation. Therefore, we can construct a proof system in a modular manner by connecting small specialized ”gadget” circuits in a lightweight fashion. Thanks to the schema of ICP-ZK, we can recycle the memory: once a certain modular circuit is no longer needed in the calculation, all parties can remove the promise of that circuit from the memory.
From a theoretical perspective, modular circuit designs are flexible and reusable. If a computation naturally presents different ”components”, a general-purpose scheme will homogenize them into a single representation, which might lead to performance overhead. Thanks to the schema of ICP-ZK, we can recycle the memory: once a particular modular circuit is no longer needed in the calculation, all parties can remove the promise of that circuit from memory
With a CP scheme one can prove statements of the form "$$commit(x)$$ contains $$x$$ such that $$R(x, w)$$" where $$commit(x)$$ is a commitment. To see how the CP capability can be used for modular composition consider the following example of sequential composition in which one wants to prove that $$\exists w, z = h(x, w)$$, where $$h(x, w) = g(f(x, w), w)$$. Such a proof can be built by combining two CP systems $$Πf$$ and $$Πg$$ for its two building blocks, i.e., respectively $$f$$ and $$g$$: the prover creates a commitment $$commit(y)$$ of $$y$$, and then uses $$Πf(resp, Πg)$$to prove that "$$commit(y)$$ contains $$y = f(x, w)$$ ($$resp$$ contains $$y$$ such that $$z = g(y, w)$$".
Here is what we have done for the sub circuit generation:
<figure><img src="https://2216484837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC2Jh1oquOpJPfwzD3x9L%2Fuploads%2FjuIttc5MxPP09lBIX3Qa%2Fimage.png?alt=media&token=ba4745b4-a956-46c5-a488-c2dff38bc6ad" alt=""><figcaption><p>Figure 5: Sub Circuit Generation</p></figcaption></figure>
#### **Authentication of Response**
The authentication is to check whether the corresponding HMAC is correct. HMAC is defined as follows:
<figure><img src="https://2216484837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC2Jh1oquOpJPfwzD3x9L%2Fuploads%2FvsU1wk8hhtVfzVISQ1bB%2Fimage.png?alt=media&token=454f6412-6162-4250-92d1-2257d29824da" alt=""><figcaption></figcaption></figure>
From a definition perspective, HMAC proof must have two hash operations. In IZKP, the cost of hashes (usually sha256) is high because the response length is uncertain. We need to make some optimizations.
Our optimization exploits the Merkle–Damgård structure. Suppose $$b\_1$$and $$b\_2$$ are two correctly sized blocks. Then $$H(b\_1 || b\_2)$$ is computed as $$f\_H(f\_H(S\_i, b\_1), b\_2)$$ where $$f\_h$$ denotes the one-way compression function of $$H$$, and $$S\_i$$ is the initial state for each round of compression. Based on the above analysis, we separate the HMAC to 4 steps:
* Outer hash state: $$Outer\_{hs} = f\_H(S\_i, k' \oplus opad)$$
* inner hash state: $$Inner\_{hs} = f\_H(S\_i, k'\oplus ipad)$$
* Inner hash: $$Inner\_h = f\_H(Inner\_{hs}, R)$$
* $$HMAC = f\_H(Outer\_{hs}, Inner\_h)$$
Revealing the outer hash state or inner hash state would not reveal $$k'$$ since the $$f\_H$$ is assumed to be one way. So during the 3P handshake, node can reveal the $$Inner\_{hs}$$ to Prover, Prover can use $$Inner\_{hs}$$ as public signal and his $$R$$ as the witness to generate proof that:$$π = ZK-PoK\left{R, Inner\_{hs}: Inner\_h=f\_H(Inner\_{hs}, R)\right}$$. $$Inner\_h$$ also needs to be committed. Then the node commits the $$Outer\_{hs}$$, so the check of $$HMAC$$ can be out of the ZK circuits which can significantly reduce cost.
Now we will reduce the number of hash operations in HMAC to one. We can create a circuit:
#### **Parse Response**
In IZK, parsing JSON poses a significant computational burden. The syntax tree of each node contains numerous potential branches, and the parser must traverse each branch. Consequently, as the length of the JSON string increases, the total number of branches grows exponentially. This exponential growth makes ZKP circuits designed for parsing JSON documents impractical due to their sheer size.
However, in practical scenarios, JSON structures typically do not contain sensitive information. The response from the data source often exhibits a similar structure across different users, with user-specific sensitive data typically represented as scalar JSON values. Consequently, we can alleviate this issue by performing JSON parsing outside of the circuit.
<figure><img src="https://2216484837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC2Jh1oquOpJPfwzD3x9L%2Fuploads%2FyS5BUnNwEtXCyPBqJKiq%2Fimage.png?alt=media&token=16d3469e-9aa7-4ba1-ba17-f8ec2c23a16e" alt=""><figcaption></figcaption></figure>
#### **Assert Response**
As we have got the ind\[n], so the value must be at the index E\[n] + 1, so it could be extracted by the wire from E\[n] + 1 and E\[n] + Len(value), the Len is the bit length function for value. Then we could check Assert(R, E\[n] + 1, E\[n] + Len(value))= 1
To facilitate proof of assertions, we utilize a primitive query circuit called Assert. It is designed to easily provide proof of various assertions. Since each case may have different assertions, constructing a large combination circuit with specific query selectors is not feasible. Such an approach would make the main circuit excessively large and difficult to maintain. To address this, our circuit factory offers a range of common circuits. Enterprise users can choose and combine these circuits to fulfill their specific requirements. Currently, we provide support for the following assertion circuits:
* equal or not equal
* greater/less than or equal
* include/all different
* average
* sum
* arithmetic with scalar
* order
* regexp/like
* logical operation
* between or out of range
## 5 Benchmark
We conducted a performance evaluation of the complete protocol implementation using specific hardware setups. The Prover was executed on a MacBook Pro 15-inch Mid 2015, equipped with 16GB of 1600MHz DDR3 memory and a 2.5GHz Intel Core i7 processor. This configuration closely resembles the actual user environment. On the other hand, the Verifier was deployed on an AWS c6a.2xlarge instance, which offers 8 virtual CPUs and 16GB of memory (GiB).
**Browser:** `MacBook Pro 15-inch Mid 2015, 16G Mem 1600 MHz DDR3, 2.5GHz Intel Core i7.`
**Server:** `aws c6a.2xlarge 8vCPU 16GiB Mem.`
<figure><img src="https://2216484837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC2Jh1oquOpJPfwzD3x9L%2Fuploads%2FH3pNciokZhhao4xZ2rUc%2Fimage.png?alt=media&token=547c1eda-5678-4cf9-baf2-b3649dcc2147" alt=""><figcaption></figcaption></figure>
## 6 Future Direction
The fields of MPC and ZK related technologies are constantly evolving, with significant advancements being made each year. To ensure the continuous optimization of the zkPass protocol, we are actively staying abreast of the latest technologies. Here are some noteworthy references that we are considering: \[FNO14], \[NNOB11], \[HK20], \[HYDK22], \[ADST21], \[BDOZ10], \[FKL+21], \[DIO20], \[JKO13], \[GAZ+21].
**OT.** Traditional OT protocols like IKNP/KOS15 which we use at current time requires security parameter $$λ$$ bits of communication for each OTHowever, we propose building a new maliciously secure OT extension based on VOLE which only needs $$λ/k$$ bits. for any $$k$$, at the expense of requiring $$2^{k-1}/k$$ times the computation.
**GC.** Existing GC evaluation methods such as \[ZRE14] and \[KS08] evaluate GC functions gateby-gate using encrypted truth tables. The GC evaluator decrypts the corresponding output label based on input labels. However, interactive protocols offer more sophisticated techniques. For example, we can expose a (masked) private value to a party, allowing them to perform local computation and feed the resulting cleartext value back into the MPC.
**IZK.** VOLE-based IZK(\[WYKW20]/\[YSWW21]) suffers from high communication overhead, often linear to the circuit size. We are constructing a new ZK protocols with communication sublinear to the circuit size, while maintaining a similar level of computational efficiency.
## Reference
\[1] KOS15 <https://eprint.iacr.org/2015/546>
\[2] GZBW22 <https://eprint.iacr.org/2021/1022>
\[3] JKO13 <https://eprint.iacr.org/2013/073>
\[4] DIO21 <https://eprint.iacr.org/2020/1446>
\[5] FKL+21 <https://eprint.iacr.org/2021/979>
\[6] BDOZ11 <https://eprint.iacr.org/2010/514>
\[7] BCGI18 <https://eprint.iacr.org/2019/273>
\[8] ADST21 <https://eprint.iacr.org/2021/318>
\[9] HYDK21 <https://eprint.iacr.org/2022/810>
\[10] HK20a <https://eprint.iacr.org/2020/136>
\[11] YSWW21 <https://eprint.iacr.org/2021/076>
\[12] FNO15 <https://eprint.iacr.org/2014/598>
\[13] NNOB12 <https://eprint.iacr.org/2011/091>
\[14] SGRR19 <https://eprint.iacr.org/2019/1084>
\[15] IKNP03 <https://www.iacr.org/archive/crypto2003/27290145/27290145.pdf>
# Use Cases
Proof of everything with zkPass
zkPass extends verifiability across the digital world by transforming sensitive Web2 data into cryptographic proofs that are portable, privacy-preserving, and universally verifiable. Built on the zkTLS protocol, zkPass creates a trust layer where information can prove itself without being exposed, bridging the gap between Web2 institutions and Web3 applications.
The use cases of zkPass can be organized into ten domains, each addressing critical challenges where authenticity, privacy, and interoperability are essential:
<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td>🪪 <strong>Identity and Compliance</strong></td><td>Privacy-preserving KYC, AML, and eligibility verification across financial and regulated services.</td><td><a href="/overview/use-cases/identity-and-compliance">Identity and Compliance</a></td></tr><tr><td>💹 <strong>Finance and Governance</strong></td><td>Proofs of assets, transactions, and unique identities enabling compliant DeFi, fair governance, and automated insurance claims.</td><td><a href="/overview/use-cases/finance-and-governance">Finance and Governance</a></td></tr><tr><td>🌐 <strong>Reputation and Achievements</strong></td><td>Conversion of Web2 achievements, professional records, and experience into verifiable credentials usable across ecosystems.</td><td><a href="/overview/use-cases/reputation-and-achievements">Reputation and Achievements</a></td></tr><tr><td>🏥 <strong>Industries and Society</strong></td><td>Secure proofs for healthcare, education, social networking, and gaming, ensuring authenticity without data exposure.</td><td><a href="/overview/use-cases/industries-and-society">Industries and Society</a></td></tr><tr><td>🤖 <strong>AI and Data Economy</strong></td><td>Authentic, privacy-protected data inputs for AI models and agents, supporting trustworthy and regulated AI systems.</td><td><a href="/overview/use-cases/ai-and-data-economy">AI and Data Economy</a></td></tr><tr><td>⚡ <strong>DePIN and Machine Economy</strong></td><td>Verifiable machine-to-machine interactions and device usage proofs anchoring the decentralized infrastructure economy.</td><td><a href="/overview/use-cases/depin-and-machine-economy">DePIN and Machine Economy</a></td></tr><tr><td>📦 <strong>Supply Chain and Enterprise Data</strong></td><td>Cryptographic verification of supply chain documents, compliance attributes, and enterprise records.</td><td><a href="/overview/use-cases/supply-chain-and-enterprise-data">Supply Chain and Enterprise Data</a></td></tr><tr><td>🏛️ <strong>Government and Public Services</strong></td><td>Efficient, privacy-first verification for welfare distribution, tax compliance, and digital identity.</td><td><a href="/overview/use-cases/government-and-public-services">Government and Public Services</a></td></tr><tr><td>📰 <strong>Content Authenticity</strong></td><td>Provenance and authorship proofs for media, creative works, and AI-generated content, safeguarding digital trust.</td><td><a href="/overview/use-cases/content-authenticity">Content Authenticity</a></td></tr><tr><td>🔗 <strong>Extended Ecosystem Integration</strong></td><td>Cross-industry interoperability where proofs generated once can be reused across finance, enterprise, AI, and Web3 protocols.</td><td><a href="https://zkpass.org/ecosystem">https://zkpass.org/ecosystem</a></td></tr></tbody></table>
#### Strategic Impact
Across these domains, zkPass consistently replaces the need to disclose raw data with cryptographic attestations rooted in authoritative sources. This delivers three transformative outcomes:
* **For individuals**: sovereignty over personal and professional data, with control over what is disclosed and where.
* **For enterprises and institutions**: reduced liability, compliance efficiency, and assurance of data authenticity.
* **For ecosystems**: new classes of applications where trust and privacy are not trade-offs but complementary guarantees.
zkPass positions itself as the universal verification layer of the digital era. By embedding verifiability into the fabric of online interaction, it enables an internet where authenticity is native, privacy is preserved, and trust is grounded in mathematics rather than intermediaries.
# Identity and Compliance
Identity verification and regulatory compliance are two of the most demanding areas in digital infrastructure. Existing approaches depend heavily on centralized intermediaries that store sensitive personal data, creating significant risks of privacy leakage, data breaches, and regulatory inefficiency. zkPass, through its zkTLS protocol, offers a cryptographically verifiable yet privacy-preserving alternative. By enabling individuals to prove compliance attributes directly from authoritative Web2 sources, zkPass allows institutions and applications to validate what matters while ensuring that raw data never leaves the user’s control.
#### Limitations of Traditional Identity Systems
* **Data exposure**: KYC service providers require storage of documents such as passports, bank statements, or proof of residence, creating high-value targets for attackers.
* **Redundancy and inefficiency**: Users repeat the same KYC processes across multiple platforms, while enterprises bear duplicated compliance costs.
* **Regulatory mismatch**: Current frameworks often force a binary model: either full disclosure of user data or complete exclusion from services.
* **User resistance**: Privacy-conscious individuals are increasingly unwilling to entrust sensitive information to centralized intermediaries, especially in Web3 ecosystems.
#### zkPass Approach
zkPass transforms the compliance model by embedding verifiability into the TLS layer. When a user connects to a regulated Web2 source — such as a government ID system, a bank portal, or an exchange account — zkTLS enables the generation of a zero-knowledge proof that confirms the required compliance attributes without revealing the underlying documents. This proof is portable, reusable, and verifiable on-chain or off-chain.
Core properties:
* **Selective disclosure**: Only the required attributes (for example, “over 18,” “EU resident,” or “non-US person”) are revealed.
* **Local proof generation**: Computation occurs on the user’s device, ensuring that raw credentials are never transmitted.
* **Cross-domain interoperability**: Proofs generated once can be applied across multiple applications and ecosystems, reducing redundant verification.
* **Regulatory auditability**: Proofs are cryptographically verifiable, ensuring institutions can meet compliance requirements with higher assurance than document scans.
#### Applications
**zkKYC**
* Account onboarding for centralized and decentralized exchanges, meeting AML and CTF standards without document exposure.
* Permissioned DeFi platforms where users must prove jurisdiction or residency constraints.
* Institutional counterparty verification in lending or derivatives markets, enabling compliance without sacrificing privacy.
**Eligible Access**
* Accredited investor verification using bank statements, tax filings, or government registries, proven via zkTLS without disclosing the full documents.
* Employment or university enrollment verification for gated research platforms, academic communities, or professional DAOs.
* Region-specific service access (for example, streaming, gaming, or fintech apps) that enforces compliance with local regulations without precise geolocation tracking.
#### Strategic Impact
By replacing document exposure with cryptographic attestations, zkPass redefines identity and compliance as a verifiable service rather than a centralized data-collection practice. This model balances the requirements of regulators, enterprises, and users:
* **For regulators**: verifiable compliance without reliance on weak document scans.
* **For enterprises**: reduced liability from data breaches and lower compliance costs.
* **For users**: strong privacy guarantees and control over personal data.
This establishes zkPass as a foundational infrastructure for compliant digital interaction, where trust is enforced by mathematics rather than institutional custody of identity data.
# Finance and Governance
Finance and governance are domains where the integrity of data and the assurance of compliance directly determine system stability. Traditional infrastructures rely on centralized verification and opaque processes, leaving room for fraud, inefficiency, and lack of trust. zkPass, powered by zkTLS, introduces a verifiable proof layer that allows financial and governance systems to operate with cryptographic certainty while preserving user privacy.
#### Limitations of Existing Models
* **Financial systems**: Credit scoring, collateral assessment, and transaction history validation depend on centralized bureaus and intermediaries, which expose users to data leakage and bias.
* **DeFi ecosystems**: Smart contracts lack access to verified off-chain financial data, limiting innovation in lending, derivatives, and compliance-aware products.
* **Governance**: DAOs and community systems face Sybil attacks and vote manipulation due to the absence of reliable identity and reputation proofs.
* **Insurance**: Claims rely on lengthy manual processes and document submission, which increase operational costs and enable fraud.
#### zkPass Approach
zkTLS enables the transformation of financial and governance-critical data into zero-knowledge proofs that are portable, tamper-proof, and verifiable across domains. Users connect to authoritative Web2 sources — banks, trading platforms, payroll systems, government databases — and generate proofs locally, ensuring data validity without exposing the underlying records.
Core properties:
* **Proof of assets and liabilities**: Demonstrate asset balances, transaction history, or income without disclosing account details.
* **Fraud-resistant governance**: One-person-one-vote models supported by verified unique identity proofs.
* **Prog프로젝트로 돌아가기